Category "selenium"

How to verify icon's presence in statusBar of Android with Selenium?

I need to write code (Java, Selenium) that verifies icon's presence in Android status bar. For instance, after enabling airplane mode, a plane icon appears. But

Log into gmail using Selenium in Python

I am trying to log into gmail using Selenium. In the new gmail log in, first you type your email id and then a next page comes where you type your password. URL

How to fix Deprecation Warning: executable_path has been deprecated, please pass in a Service object

I am pretty new to coding and Python - The scraper starts off well and works, until at some point (after around 1 minute or so) it stops and hands out this erro

Apply proxy gateway in Selenium webdriver

My goal is to apply a proxy gateway (eg. geosurf.io) inside of the Selenium webdriver. I need to do it thru using DesiredCapabilities, since it seems DesiredC

How can Geckodriver/Firefox work without Marionette? (running python selenium 3 against FF 53)

I'm seeing a bizarre "untrusted cert" error only on selenium-controlled firefox pop-ups. Very specific. To solve this problem, various google results suggested

java.lang.NoSuchMethodError: 'com.google.common.collect.ImmutableMap error when trying to execute tests using Chromedriver and Maven

I am new to selenium tests and I am currently watching some youtube videos using maven. Today I tried a few codes and worked fine but when accessing one store p

Is it possible to execute cucumber scenario's in parallel on different browsers(chrome and firefox) at same time?

I succeeded to run cucumber scenario's in parallel but only on one browsertype(chrome or firefox). So first I run my tests on chrome. When tests finish I start

Jmeter/Selenium scroll down in a specific area and not the entire page

I am having trouble trying to figure out how to scroll down a one section only from the entire webpage. I have tried window.scrollBy(x,y) which works but for th

Jmeter/Selenium scroll down in a specific area and not the entire page

I am having trouble trying to figure out how to scroll down a one section only from the entire webpage. I have tried window.scrollBy(x,y) which works but for th

I am getting io.cucumber.java.InvalidMethodSignatureException in Cucumber Java

My Feature file - Feature: Open google page @Sanity Scenario: Open google search Given User open google search Then enter text "hi" in search bar

How to get screenshot of the complete cookie banner of webpage in selenium python

enter image description here I am able to get the full screenshot of the webpage but not the cookie banner.Can i do it in selenium or i should use any other too

How can we click on an icon which is list in Python Selenium ('list' object has no attribute 'click' error)?

I am on an RPA project and I am trying an automation via a website. I am trying write xpad to click on the object I aim (with selenium) however it is a list and

Selenium - Why is some windows closing by itself while program not finished?

When I run the test.py file, windows open as many times as I want, it can log in and execute the necessary commands. But every time, random tabs closing by them

How to enter data in canvas?

I have a table on canvas, and I can click on a cell and enter data into it But HTML has no input. I can click and select the input(using screen points), but I c

How to Capture Full page screenshot of using selenium WebDriver

I have created a Selenium Full page screenshot test for Responsive tests using selenium. But if I am going to run against the SharePoint Site then it's not taki

Selenium Automation Upload file issue

While debugging I found out that my tests fail because of the unloaded file. I tried many different locators and checked the absolute path to uploading file, bu

docker-compose selenium grid

I'm using docker-compose version 2 to build a local selenium grid, and I'm running into trouble. Most of my trouble is coming from a lot of old blogs/documenta

Is there any possibility to insert HTML tag into the file which is reside on server through selenium automation?

I have created simple automation which will first read the read subdomain folder and then it will get into it and then find for the specific html file. If it wi

selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist with chromium browser and Selenium Python

I want to run selenium through chromium. I wrote this code: from selenium import webdriver from selenium.webdriver.chrome.options import Options options = Optio

Sendkeys does not work for uploading a folder in selenium c# in headless mode

The code is working fine in normal mode and it silently uploads the entire folder yet when executed in headless mode it does nothing. Just execute the line and