File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
WebDriverManager/DriverConfigs/Impl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public virtual string GetLatestVersion()
3434 var htmlCode = client . DownloadString ( "https://github.com/mozilla/geckodriver/releases" ) ;
3535 var parser = new HtmlParser ( Configuration . Default . WithDefaultLoader ( ) ) ;
3636 var document = parser . Parse ( htmlCode ) ;
37- var version = document . QuerySelectorAll ( "[class='release-title'] a" )
37+ var version = document . QuerySelectorAll ( "[class~ ='release-title'] a" )
3838 . Select ( element => element . TextContent )
3939 . FirstOrDefault ( )
4040 ? . Remove ( 0 , 1 ) ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public virtual string GetLatestVersion()
3434 var htmlCode = client . DownloadString ( "https://github.com/operasoftware/operachromiumdriver/releases" ) ;
3535 var parser = new HtmlParser ( Configuration . Default . WithDefaultLoader ( ) ) ;
3636 var document = parser . Parse ( htmlCode ) ;
37- var version = document . QuerySelectorAll ( "[class='release-title'] a" )
37+ var version = document . QuerySelectorAll ( "[class~ ='release-title'] a" )
3838 . Select ( element => element . TextContent )
3939 . FirstOrDefault ( ) ;
4040 return version ;
You can’t perform that action at this time.
0 commit comments