In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Now the open source tool we use is generally selenium, of course, the advantage is that you can call different browsers. It contains ie\ google\ firefox and so on, but when called, its browser cannot be called. The reason is simple: selenium does not match the version of its browser. In general, it is caused by the version of each DRIVER called by selenium that is lower than the version of the browser.
Details:
C:/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdr
Iver/remote/response.rb:52:in `assert_ok': unknown error: unable to discover ope
N pages (Selenium::WebDriver::Error::UnknownError)
The change is: I call chromedriver to call the chrome browser, but keep reminding me of this error.
Another error is prompted in the chrome browser: "- ignore-certificate-errors". Of course, this problem can also be solved in the chrome browser: right-click the browser-"Quick Open method -" Target: "C:\ Program Files\ Google\ Chrome\ Application\ chrome.exe"-ignore-certificate-errors- "Click the apply button to solve the problem of changing the prompt.
So the problem that the selenium just can't call the chrome browser, just download the latest version of chromedriver and put it in the folder.
On the other hand, if the version of the browser is too low, you only need to upgrade the browser.
Selenium updated website: http://docs.seleniumhq.org/download/
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.