Category "selenium"

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,

Is there a way to use an XML file to run Selenium tests?

I have a selenium test with over 100 lines of findElement, click(), sendKeys().... Is there a way I can create an XML or text file of the different parameters a

How to detect if Chrome browser is headless in selenium?

I'm writing a selenium test which has different behavior given whether the chrome browser was started as headless or not. My question is in my test how do I det

How I can get HTML tags where located some text

I have some text, like message I have a method who search this last message: def get_message_text(self): return self.get_elements(f"//*[@data-qa='Paragraph-

Network connection throtling with Selenium - Java

I have been trying to implement network throttling with Selenium-WebDriver based on the snippet available here in this post. https://stackoverflow.com/a/5652609

Selenium Google Login Block

I have a problem with Google login. I want to login to my account but Google says that automation drivers are not allowed to log in. I am looking for a solution

Proxy: Selenium + Python + Firefox

I'm trying to set up a proxy for Selenium and Firefox (using Python). I have seen many tutorials and posts how to do it, but most are outdated or don't work for

Unable to open a link in new tab using Actions Class

I am trying to open a link in a new tab using selenium java automation code. Initially i tried with actions class but it wasn't working. Later i tried using the

Click on pop up/ alert to launch web app using selenium

Currently in my tests when i select a button a pop up appears asking me to launch my web application However I cant seem to switch onto this pop up as if its a

How do I start doing Automation with Salesforce?

I'm currently writing some automation with Salesforce, Python and Selenium. My problem is that some of the Dynamic Elements are not reachable. However, I would

Some websites dont fully load/render in selenium headless mode

So I have a problem that I have been noticing with selenium when I run it headless where some pages don't totally load/render some elements. I don't exactly kno

Cannot connect to chrome at 127.0.0.1:53007 while using undetected_chromedriver in Python

I am trying to use undetected_chromedriver for bypassing Cloudfare Protection. This is the simple code I am trying to use import undetected_chromedriver as uc f