Category "selenium"

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

Python: Selenium Chrome Driver opens blank page

When running this simple code a blank page opens with 'data:,' written in the url. Chrome driver is the correct version (ChromeDriver 81.0.4044.69) and matches

Python/With selenium, trying to express a xpath for a color so all buttons matching the color can be clicked

I'm currently working with Selenium and Python to create a script that helps with booking free spots on a website for internships so you don't have to check it

Combine Selenium-Wire and Selenium-Requests

i trying to figure out how i can handle Selenium-Wire and Requests. from seleniumrequests.request import RequestMixin from seleniumwire import webdriver class

How to download a video when I get the URL of the MP4 file in selenium python? (WITHOUT URLLIB)

I can get to the point where the video is right in front of me. I need to loop through the urls and download all of these videos. The issue is that the request

Get text from alert message from web with Selenium and VBA

I am currently creating an automation to fill-in field in the browser (Chrome) with VBA and selenium. Which is currently doing fine. (the site is internal) How

How to switch to a new window in through Selenium

I have 1 3rd party integration as Paypal. When I will click on Place Order button it will navigate me from Place Order page to paypal page. Can you please let m

How to accept facebook cookies using python selenium?

I have a problem clicking the facebook accept cookies button on facebook creator studio website. Cookies are shown only when the page is opened by the program,