Category "selenium-chromedriver"

How to set default download directory in selenium Chrome Capabilities?

Please find the below code with the chrome capabilities. In fact the browser is not downloading the file to the specified path. private static DesiredCapabili

Drivers for selenium will not work 'chromedriver' executable needs to be in PATH

Very new to this, and I cannot get chromedriver or geckodriver to work. They are both located in /usr/local/bin/. So I know they are in PATH. My code: from

WebDriverException: no chrome binary at /usr/bin/google-chrome-stable or chrome binary not found

I am executing selenium test via Jenkins server in AWS Ubuntu. I was getting chrome binary not found error so I set chrome binary in my code. System.setPrope

How to maximize Headless Chrome window in Robot Framework?

I'm not able to start Headless chrome with a maximized window. I tried two solutions but none of them worked for me. First solution : Open Browser ${LOGIN_

Selenium tests error: WebDriverError: unknown error: net::ERR_CONNECTION

I'm trying to run selenium tests but I get this error: Error: WebDriverError: unknown error: net::ERR_CONNECTION_REFUSED (Session info: chrome=98.0.4758.102)

WhatsApp Web Automation with Python Selenium (unable to locate element)

I am using python and selenium to send a message to a target. I can successfully open whatsapp web but after that I cannot open the inbox of the contact to who

selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service ./drivers/chromedriver.exe

Trying to set up my first project using Selenium and Python and am getting an error with my chromedriver. I have already found similar questions/solutions on he

Selenium 4.x execute "Page.addScriptToEvaluateOnNewDocument" properly

I'm having a strange issue where I really cannot find a solution. My production website needs some testing and of course bot checking is enabled (not naming it)

How to click elements that have generated id's if I don't know what the ID will be in Selenium

Say I have some HTML mark-up as such: <select id="select_titleOfSelect-1212_01" name="titleOfSelect-1212" <option value="ONE"></optio

Python Selenium - Disable Chromedriver log message in cmd

I can't disable chromedriver logging message "DevTools listening on ws:......" in cmd, i've used some methods like, options.add_argument("log-level=3") options.

Failed at chromedriver installation

I'm going to install slamdata on debian Jessie, as described here, but I failed at npm install section and it wanted to install chromedriver. I even tried a mir

How to send info to site about desktop resolution in Selenium?

I am developing an application and I need to send some info about the resolution of a browser's window and the resolution of a monitor. The resolution is curre

Chrome WebDriver does not open when called from IIS

I have a really strange issue (And I have a really strong suspicion - that it will be on the IIS side). I have .NETCORE6 application, which uses Selenium via IH