In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Selenium_webdriver can't drive browser.
Recently, when many students are learning selenium tools, one of the most common problems is why I can't open the browser when I create a browser instance, driver.get (url), or why I can't enter the corresponding URL even if I open it.
Recently, when I was self-learning selenium tools, I also encountered these problems, and finally found that it was the driver version, because webdriver needs to call the corresponding driver when enabling our specified browser Chrome/Firefox/I e, and different browser versions correspond to different drivers. Some drivers only support which browser-related versions, for example, Chrome:
-ChromeDriver v2.7 (2013-11-22)-Supports Chrome v30-33Resolved issue 615: ChromeDriver doesn't work well with auto detect proxy settings [OS-Windows, Pri-0] Resolved issue 614: Implement new redirectionless / session command [Pri-0] Resolved issue 625: logging broken on windows [Pri-0] Resolved issue 573: chromedriver crashes on windows occasionally [OS-Windows Pri-1]-ChromeDriver v2.6 (2013-11-04)-Supports Chrome v29-32Resolved issue 599: Chromedriver failes after MacOS X Mavericks upgrade [OS-Mac, Pri-0, Type-Defect] Resolved issue 585: Return user data dir via capabilities []-ChromeDriver v2.5 (2013-11-01)-Supports Chrome v29-32Resolved issue 600: Support minidump for chrome crashes on Linux with a new capability minidump_path. [Pri-0] Resolved issue 569: A change in blink breaks scrolling an element into view [Pri-0] Resolved issue 554: Release notes broken [Pri-0] Resolved issue 545: hang when debugger is invoked via JS [Pri-0]-ChromeDriver v2.4 (2013-09-30)-Supports Chrome v29-32Resolved issue 444: chromedriver sometimes hangs when launching chrome (chrome fails to bind to debug port) [Pri-0] Resolved issue 529: WebDriver clients fail when Attempting to use empty chromeOption binary string [Pri-0] Resolved issue 536: remote debugging port taken during startup [Pri-0] Resolved issue 520: Some commands hangs if the target window already crashes. Resolved issue 519: Support JS heap snapshot []-ChromeDriver v2.3 (2013-09-02)-Resolved issue 309: Screenshot is blank from an VM instance without an open RDC connection [Pri-1] Resolved issue 445: chromedriver crashes when port is in use [Pri-1] Resolved issue 461: TouchUp, TouchDown, and TouchMove commands [OS-All Pri-1] Resolved issue: No longer using packed extension id when loading custom extensions [Pri-3] Resolved issue 491: Extension does not have its _ id_ [Pri-3] Resolved issue 497: unrecognized chrome option: useExistingBrowser [Pri-3]-ChromeDriver v2.2 (2013-08-06)-
As we can see above, the browser versions supported by different ChromeDriver are different. If we use the driver of ChromeDriver v2.4 to drive Chrome 35 or above, there may be various problems mentioned above. Other types of browsers are similar. These problems are usually caused by drivers.
Download the ChromeDriver driver and the supported browser version number, which can be found at the following link:
Http://chromedriver.storage.googleapis.com/index.html?path=2.7/
All right, it's getting late, so stop here and update if you have any questions. no, no, no.
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.