Category "selenium"

Implicit wait is executing after an explicit wait

I'm having a problem with my automated script using selenium+python unittest. In my setUp() I have this line: def setUp(self): self.driver.implicitly_wait(10)

Python Selenium - Can't Click on Button

All I am trying to do is select the drop down & then select "Export Excel Spread Sheet". Example of Drop Down Code: from selenium import webdriver from sele

Why is selenium script not working in chrome version 60?

I am getting org.openqa.selenium.SessionNotCreatedException: session not created exception we have selenium-java------- 2.53.0 chrmedriver version -------- 2

Why do we need to typecast the WebDriver instance to JavascriptExecutor before calling the executeScript method?

JavascriptExecutor is an interface which provides some default code for executeScript method. RemoteWebDriver implements this interface and overrides the method

How to detect a button.click() failure in Selenium?

I have a Selenium 3 Python script that is used to file FTC complaints for nuisance calls. Today a miscreant got through using the number "0" (literal 0). The FT

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