In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.