Category "selenium"

"TestNG No tests found. Nothing was run" while executing automated tests using Selenium through TestNG

I want to know what exact software should I install before I run my automation project. Selenium web driver, selenium java, testNG, junit was installed but th

Stop webpage from auto-reload with selenium/chromedriver

Im using python with the selenium package and the chromedriver to scrape a webpage. The page is automatically reloading itself (probably via java-script) every

How to modify .condarc file or use pinning to force conda to install the noarch selenium version when running "conda update --all"?

I would like to install selenium v4.1.0 on Anaconda python on Windows. https://anaconda.org/conda-forge/selenium If you run conda install selenium, conda will i

How to open url with selenium webdriver python with differents IPs?

from selenium import webdriver options = webdriver.ChromeOptions() options.add_argument('--proxy-server=125.62.213.229:82') browser = webdriver.Chrome(executa

How to capture network (XHR)? (Selenium 4)

How to capture network (XHR)? You can track the desired packs (XHR) in the Chrome (Open DevTools (F12) → Open tab “Network” → Select filte

C# Selenium - Can't access image url in another tag

I'm trying to validate image on website however can't access the url of the image. Most websites will have the image with a "src" tag however this website has t

Resize Selenium browser window to emulate a phone screen

I want to be able to resize the Selenium browser window to emulate a phone screen that is small enough (340,695). Is there a way to do that? This is what I have

Selenium new tab in Thread

I have to process 20 sites at the same time using Selenium class ThreadWithReturnValue(object): def __init__(self, target=None, args=(), **kwargs): s

How to change window selenium java?

I'm trying to access iframe inside html tag.xpath is not working.How to change my window to iframe in selenium(java/maven)?

Selenium ChromeDriver 101.0.4951.41 cannot start DevTools

Hi. I tried upgrade my chromedriver to 101.0.4951.41 today and it sudden keep prompt this error to me. Anything I missed or what I should add for new version?

chromedriver does not have .exe after extracting

I have downloaded te latest chromedriver 2.46 and extracted the chrome driver but it has no .exe extension and when i run the code the error appears, i also tri

Data provider reading null cells , how do i handle it?

I'm trying to get the values from an excel sheet of 2 rows, the 1st row are the headings and the second row is the data, when I execute the code the 1st set of

Log4j2 Logs are not printed neither on the console or in the RollingFile when executed on Jenkins or in Command line

I pushed my automation framework to Github and integrated it with Jenkins. I used Log4j2 to capture the logs in the runtime. This works perfectly fine when I ru

Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed

Recently I switched computers and since then I can't launch chrome with selenium. I've also tried Firefox but the browser instance just doesn't launch. from s

Selenium screenshots in VSTS (Azure DevOps)

According to my searches, it should "just work". This is the best article I found. I've followed the steps, but nowhere in the VSTS (Azure DevOps) interface doe

How to use selenium to interact with javascript web3 page via metamask

I'm trying to use selenium by connecting metamask to a dapp, I am able to set up metamask using the chromium extension, but i'm having difficulty clicking on th

screen shot is not displayed in extent report

The screen shot is taken and stored in the folder. but its not displaying for the failed test. displayed as corrupted image. Java Code: public synchronized

Selenium on VBA can't find Xpath

I'm trying to find the Xpath for this HTMLcode: (Copied XPATH) /html/body/hub-menu//section-header//hubmenu-wrapper/div/search-customers//input [Picture af the

SessionNotCreatedException with Selenium 4.1.3/IEDriverServer 4.0.0 without open desktop session (works with Selenium 3.141.0/IEDriverServer 2.53.1)

I'm running Selenium via a Jenkins Maven job. The job is running on a separate Jenkins agent without a remote desktop session open to it. When I run in Selenium

Selenium Chromedriver hangs at browser initialisation (browser = webdriver.Chrome()) w. Python on Raspberrry Pi3 / or crashes :c

Hello! I am not able to format below code as code lol: from selenium import webdriver browser = webdriver.Chrome() When doing this; I am getting: Traceback (mos