Category "selenium"

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

TestNG Gradle how to run multiple suites in parallel

I was wondering if there is a way to run multiple test suites in parallel with TestNG + Gradle. I have a master suite file which contains other individual suite

How to enter a value in webdatagrid (Infragistics) using Selenium?

I have a Infragistics webdatagrid on one of the web pages I am working. It shows like a table and when we click on any of the cell, it will become like an input

Setting a default for nosuchelementexception for multiple variables in python

So I am scrapping multiple rows of a table and many of them are either available or not for different pages. What I want to do is to detect which field is not a

HOW TO USE JavascriptExecutor in Microsoft edge using java and selenium

We have automation project we need to click menu items we use this below code ((JavascriptExecutor) test.getDriver()).executeScript("mCLICK(arguments[0]);", sub

Is it possible to speed up move_to_element() in Selenium or what are other alternatives?

What is the fastest way to trigger an onmouseover event when scraping a webpage? So I want to move the mouse over a div element, which is then calling a javasc

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

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 Python - Finding Elements by Class Name With Spaces

I'm writing a Python program that uses Selenium to navigate to and enter information into search boxes on an advanced search page. This website uses Javascript,

How can I use XPath contains() for a few values under 1 common class?

I need create a Xpath for an expression like - (trim(STRING_1)=upper(STRING_2)) but unfortunately this expression is located in some editor, the code is - <

Selenium capability or option to stop 'Save Card?' popup Chrome mobile browser?

Selenium is there a capability or option to stop 'Save Card?' popup Chrome mobile browser? I am using Browserstack automate to run selenium tests on an Android

xpath to extract the text in selenium

Need help in extracting the case id, would be great help <div class="note note-info"><h4 id="note-label-CreateCaseUploadDoc:Display_Process_Com