Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Browsing all 99014 articles
Browse latest View live

What is java code for connecting to proxy using remotewebdriver in selenium...

I have the code for c# HttpCommandExecutor executor = new HttpCommandExecutor(new Uri("HubURL"), TimeSpan.FromSeconds(120), false) { Proxy = new WebProxy(new Uri("http://proxy:port")) }; IWebDriver...

View Article


Build step 'Execute Windows batch command' marked build as failure in jenkins

Hi I'm running selenium script via Git-lab, and Git-lab is correctly configured with Jenkins in Freestyle Project. I am using window machine so i have used "Execute Window Batch Command" in Build...

View Article


how do you amend user input to list and then permanently store that list for...

I am looking to save the user's input for future reference by my python script. For example, if the user inputs '11111', if the user ever runs this script again and inputs '11111' the script will know...

View Article

PROTRACTOR - How to handle SSL certificate prompt

Our applications use SSL certs and we can't bypass chrom's prompt to select cert. We would be happy with just selecting the certificate (its usually one). We have tried things like: capabilities: {...

View Article

Unable to either sendkeys to or close a Pop-up upon going to website

When I go to this site: https://www.flipkart.com/I'm prompted to enter a username and password but I am unable to use the driver to send keys to either input fields and I also can't use the click...

View Article


How to run mockito and selenium tests together using testng.xml as a single...

The xml file is as follows:Login Test is a selenium test class.xlImportTest is mockito test class.<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM...

View Article

running selenium tests via jmeter on blazemeter remotely

We have a jmeter test that launches selenium scripts using the chrome driver config plugin which runs with the Web Driver Sampler, with which we are uploading our own chrome driver. The driver wont be...

View Article

How to add the scrapy selenium code to Azure function using Python

added scrapy and init_.py https://docs.google.com/document/d/1Q9tbU-laHokq7RTu7mheB4Z3mF-mPMXbneY5V_Y3YA0/edithow to add scrapy selenium code to Azure function 1 how blob storage works (downloaded...

View Article


How to print a message, when error message is displayed on website selenium

Hi I am trying to scrape a website using selenium after sometime the website blocks my ip for scraping and a pop up message appears.What i want to do is that whenever that pop up message appear it...

View Article


Python Selenium: Handling Webdriver exception

I am using Beautfilsoup for extracting app related information from Google Play Store. I am extracting app name, overall rating, no of people rated the app, and reviews posted by the reviewers....

View Article

What is the alternative for ApacheHttpClient class in selenium

I have code as belowRemoteWebDriver driver = new RemoteWebDriver(new HttpCommandExecutor(new HashMap<String, CommandInfo>(), new URL(URL), new Factory() { private HttpClientBuilder builder; {...

View Article

How can i tick all boxes in clear browser data of opera browser with selenium?

I am trying to make a selenium script in python language. I want to add the functionality to clear full browser data. I can navigate to opera://settings/clearBrowserData, but problem is i want to tick...

View Article

How can avoid a Javascript Timeout Exception when trying to open new browser...

I am currently facing the issue that when I run my test cases on a linux server, I receive a Timeout Exception when trying to open a new window with Robot Framework.I only face this issue when the...

View Article


Image may be NSFW.
Clik here to view.

Find different element inside rows using selenium python

I am trying to get the values of available license inside the table using selenium in python3. I am able to get the values using XPATH, and iterate through each rows. But XPATH is not ideal, since the...

View Article

Not getting "Add unimplemented methods" error in eclipse

I am working on Selenium with Java and using Listeners.I created the class, imported the TestNG, and then added method as;Public class Listener implements ITestListener{ } I got an error at...

View Article


Image may be NSFW.
Clik here to view.

How to find the highlighted text using selenium web driver in Java?

Hello I have tried the following link. It is working only if we select the text manually.But my case is like, we have found the text using the text search.Is it possible to find the selected text using...

View Article

Test cases in TestNG are not executed by maven

I have the maven project with testng script as below:package TestMaven; import static org.testng.Assert.assertEquals; import org.testng.annotations.Test; public class mavenTestDemo { @Test public void...

View Article


How to run two different wdio.config.js file one after another

I currently have two wdio.config.js files with different configurations. How can i run both one after another? Is it possible?This is how I am defining in the code:first config.jsconst { join } =...

View Article

How to use wildcards in CssSelector when finding an element through Selenium?

I have an issue where the CssSelector I am using has a GUID in it that changes every time and therefore the tests will only ever pass once. Is there a wildcard I can use in the CssSelector that will...

View Article

Click "Next" button on webpage using selenium in python

I have a very simple webpage expecting to click on "NEXT" button after inputting an activation code. But i am not able to find the element by value/name "next" .From the inspect element<input...

View Article
Browsing all 99014 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>