selenium-chromedriver

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73 with ChromeDriver

时光毁灭记忆、已成空白 提交于 2020-01-31 03:14:37
问题 I am trying to create a webcrawler using Selenium, but I get this error when I try to create the webdriver object. selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73 (Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 6.1.7601 SP1 x86_64) I downloaded the latest version of chromedriver (2.45) which requires Chrome 70-73. My current Chrome version is 68.0.3440.106

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73 with ChromeDriver

牧云@^-^@ 提交于 2020-01-31 03:13:06
问题 I am trying to create a webcrawler using Selenium, but I get this error when I try to create the webdriver object. selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73 (Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 6.1.7601 SP1 x86_64) I downloaded the latest version of chromedriver (2.45) which requires Chrome 70-73. My current Chrome version is 68.0.3440.106

Can't Sends Keys to Directed Paypal Login Page

若如初见. 提交于 2020-01-30 11:43:08
问题 I'm writing a Auto-Fill bot for Paypal Checkout. The paypal login page is redirected from another website, so it is slightly different to the offical paypal login page, though the HTML is similar. I've tried different methods like switch to frame , scroll down , execute_script . However, none of them are working and I'm not able to send_keys . The same things working fine on the official Paypal login page as below: https://www.paypal.com/signin/?country.x=US&locale.x=en_US The one that I'm

java.lang.NullPointerException using static WebDriver instance

巧了我就是萌 提交于 2020-01-30 11:40:47
问题 I want to separate my code in to smaller functions. But had an issue as driver was not available to all functions. So i declared it as a constant (or is there a better way of doing this ?) but in 3rd function it is failing on line : Select dropdown_finance_product = new Select(driver.findElement(By.xpath("//select[@id='ResultsNumber']"))); Here is the console message : Exception in thread "main" java.lang.NullPointerException at Scraping.scrapeit.fetch_urls(scrapeit.java:49) at Scraping

selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create a Chrome process with ChromeDriver Chrome with Selenium Python

孤者浪人 提交于 2020-01-30 11:01:37
问题 I am trying to click a button using selenium so I made it find the element with the xpath since i couldn't find the id . EDIT: I didn't think the rest of the code had anything to do with it but i added it just in case This is The Code import requests import os import selenium from selenium import webdriver os.system("cls") print(" ") print("______________ _____________ ________________") print("| | | | | | | | |______________|") print("| |________ // | | __ | | | |") print("| |________ \\\\ |

Exception in thread “main” java.lang.NullPointerException using WebDriver Driver=new Chrome() and maximize Chrome browser window using selenium script

独自空忆成欢 提交于 2020-01-30 08:19:06
问题 How to maximize Chrome browser window using selenium script? This is my code: package newpackage; import org.openqa.selenium.WebDriver; public class MyClass { public static void main(String[] args) { WebDriver Driver=new Chrome(); Driver.get("http://www.google.com"); Driver.manage().window().maximize(); } } However, I get this error: Exception in thread "main" java.lang.NullPointerException at newpackage.MyClass.main(MyClass.java:10) 回答1: To work with Selenium 3.4.0 you need to download the

Chrome Automation Extension has crashed

孤街醉人 提交于 2020-01-30 08:17:39
问题 I am using Selenium in C# to automate against Google Chrome. I am using the latest version of Chrome (78.0.3904.70) , Selenium.Webdriver (3.141.0) , and Selenium.Chrome.Webdriver (77.0.0) . I use: ChromeDriver chrome = new ChromeDriver(); . Chrome opens, but does not load correctly, like in the image below, and I am unable to use any Selenium features. What do I need to change to use Chromedriver? I downloaded ChromeDriver v.78 and have referenced it with new ChromeDriver(v78 path) , and it

Chrome Automation Extension has crashed

我只是一个虾纸丫 提交于 2020-01-30 08:16:47
问题 I am using Selenium in C# to automate against Google Chrome. I am using the latest version of Chrome (78.0.3904.70) , Selenium.Webdriver (3.141.0) , and Selenium.Chrome.Webdriver (77.0.0) . I use: ChromeDriver chrome = new ChromeDriver(); . Chrome opens, but does not load correctly, like in the image below, and I am unable to use any Selenium features. What do I need to change to use Chromedriver? I downloaded ChromeDriver v.78 and have referenced it with new ChromeDriver(v78 path) , and it

org.openqa.selenium.os.OsProcess checkForError and org.apache.commons.exec.ExecuteException: Process exited with an error with Selenium ChromeDriver

﹥>﹥吖頭↗ 提交于 2020-01-30 08:14:26
问题 I'm trying to run soapui in headless mode on linux (works from windows) but when initiating the webdriver portion it seems that chrome doesnt see the driver has started. This is not even the same OS as "OsProcess checkForError : CreateProcess error=193, %1 is not a valid Win32 application" while starting Internet Explorer through Java and Selenium i've tried version 74 and 73 of both chrome and driver. i've tried adding all the selenium jars that come with the server and language bindings to

org.openqa.selenium.os.OsProcess checkForError and org.apache.commons.exec.ExecuteException: Process exited with an error with Selenium ChromeDriver

我是研究僧i 提交于 2020-01-30 08:14:11
问题 I'm trying to run soapui in headless mode on linux (works from windows) but when initiating the webdriver portion it seems that chrome doesnt see the driver has started. This is not even the same OS as "OsProcess checkForError : CreateProcess error=193, %1 is not a valid Win32 application" while starting Internet Explorer through Java and Selenium i've tried version 74 and 73 of both chrome and driver. i've tried adding all the selenium jars that come with the server and language bindings to