Category "selenium"

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,

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