Category "selenium-webdriver"

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

Exception in thread "main" java.lang.NoClassDefFoundError in the eclipse

import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import io.github.bonigarcia.wdm.WebDriverManager; public class TestFindin

How to find specific element in list and its' button (Selenium Python)

I am trying to find an specific element with class='name' <h3Brook/h3> then click on the specific button inside of that div. Only care about "Brook" which

Error: not found: java Usage: selenium-standalone action [options]

trying to install selenium-standalone but getting this error, any idea? $ ./node_modules/.bin/selenium-standalone install not found: java Usage: selenium-stan

How to use Edge Chromium webdriver "unknown error: cannot find MSEdge binary"

I am trying to use the WebDriver for the Edge Chromium version with PostMan, but I cannot make it work. WebDriver Download: https://developer.microsoft.com/en-

Detect if a WhatsApp message is sent using Selenium Webdriver

I am trying to making a program that sends a message on WhatsApp if someone else sends a message, but I don't know how to check when a WhatsApp message is sent.

selenium - java - finding broken links

import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; im

IE driver 4.0.0 stuck at This is the initial start page for the WebDriver server

I am using Internet Explorer driver 4.0.0(32bit) and selenium updated version 4.1.2when I run the code using Internet Explorer driver 4.0.0 it is stuck at This

Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided using GeckoDriver

from selenium import webdriver; browser= webdriver.Firefox(); browser.get('http://www.seleniumhq.org'); When I try to run this code, it gives me an error messa

Selenium Webdriver + Java - Eclipse: java.lang.NoClassDefFoundError

I installed JDK from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html (This version for windows x64: Java SE Developmen

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

Selenium - Wait until element has a new value

Say I have an element with value = 1. Then I click on some button, it takes a while to load and then the element value updates, say value = 2. Now, what I want

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

FileNotFoundError: [Errno 2] No such file or directory: Discrepancy between programs

at the moment I'm writing several tests with Selenium and I use Python. For rudimentary logging i made this function in order to output all prints to a file: #

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

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

How can I handle Geo Location popup in mozilla and chrome browser using selenium webdriver?

Please, see the following screenshot: How can I handle Geo Location popup in mozilla and chrome browser using selenium webdriver? package tiyotesting;