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

Image may be NSFW.
Clik here to view.

WebDriverException: Service ...\firefox.exe unexpectedly exited error using...

selenium uses "fake" browsers that Google sign-in rejects ("This browser app is not secure"), mechanize lacks a GUI, webbrowser can't click. Is there any package that can open the "usual" browser that...

View Article


How to upload document with Javascript executor for import as button

I am unable to upload file with the help of sendkeys and dont know much about java executor, so can you help with javaexcutor to upload file for the below html. This should be working for selenium grid...

View Article


Python selenium get text from text file [closed]

I have a python script, using selenium to log in to a website, then enter text into various fields, and click buttons. How do i make it so i can put my login info and the different page urls all into...

View Article

Why selenium hub refuses to create session two times in a row?

Selenium python can't create session two times in a row. I'm closing session after the first time (see python script below)docker-compose configversion: '3.6' services: hub: image:...

View Article

automating windows based application running on thin client

I need to automate a windows based application running on thin client. Im trying winapp driver with selenium for achiving this. but with inspect.exe I cant locate the elements. if its not possible on...

View Article


Cannot run bat file

I want to run a .bat file with the next lines:set projectLocation=E:\proyectos\YPFB_MOD-USER\ypfb_tr_mod-user-despliegues-qa-test\ypfb-tr-mod-user\ModUserTest cd %projectLocation% set...

View Article

Unable to locate element error in selenium webdriver node.js

I have put an if else condition in selenium webdriver node.js to check if a string contains an "Add New" string, but I am getting the error Unable to locate element: // *[contains(text(),'Add...

View Article

Unable to perform drag and drop with Selenium (python)

I am struggling to perform drag and drop or click and hold actions with Selenium in python on private web app. I try to reproduce my mistake on a public exemple here :...

View Article


We have a Desktop App which has been built using electron and is chrome...

enter image description here i tried automating electron app using winium ,but can not find Ui elements

View Article


Python proxies with request package either not failing or not returning proxy ip

I'm having issues getting proxies to work in a webscraping tool. Both using Selenium and the standard requests package. I wrongfully assumed the proxies were working using the requests package and...

View Article

How to configure travis.yml to use phpunit next to selenium webdriver?

I wanted to ask if someone could tell me what the configuration should be like for the travis test to work properly? I am using phpunit together with selenium webdriver remote at the same time as...

View Article

Image may be NSFW.
Clik here to view.

Selenium webdriver is showing NoSuchElementException even when element is...

I am using Selenium with Python for Automation of a website for my organisation. I am using Mozilla FireFox Web Browser for this purpose. Firefox version is 72.0.1 (64 bit).I have already read all...

View Article

Selenium - Python - Travis CI: I need a way to send emails after execution...

That's it, I have a framework that generates a .html file when requested, this report contains the result of the execution. The framework is written in Python 3.x and Selenium. This is integrated and...

View Article


Image may be NSFW.
Clik here to view.

How to click on an autocomplete after filling partial text using Selenium...

I am testing a form, it has a categories field, it's an input-based drop-down menu. After add some text with .send_keys('text') it shows a list of categories. Take a look at its HTML:<input...

View Article

Selenium:- Unable to write in the textbox

The click Event is working fine but sendKeys event is not.My Code is:- driver.findElement(By.id("radio-1-4")).click(); jse.executeScript("scroll(0, 500);"); System.out.println("Authority Filter");...

View Article


Suppres Selenium logs

In my automatic test, chrome create a lot of logs. I tried many ways, none helped. I am currently have this:System.setProperty("webdriver.chrome.silentOutput", "true"); ChromeOptions options = new...

View Article

click on an expand & collapse button selenium cucumber eclipse

I am trying to click on an expand/collapse button and my first code is working for one of the buttons but somehow it is not working for the other two. It is the same structure that is why it is making...

View Article


Merging DesiredCapabilities with FirefoxOptions in Selenium Webdriver Results...

I'm getting: NoSuchMethodError: org.openqa.selenium.firefox.FirefoxOptions.merge when I try launching Selenium WebDriver:My code in main calls a single method:WebDriver driver = new...

View Article

Dynamic Paths for MStest Unit Test DataSource

I am using CSV files as datasource for my MSTest unit tests. I had the idea that I would generate dynamic file paths for the CSV file, store them in a variable and then pass the variable in...

View Article

Selenium send keys (text), selecting from dropdown and hit enter

I'm trying to trawl this website: http://www.jackson-stops.co.uk/The data is not showing in the URL so I'm using a chromedriver.My code is: public static void main(String[] args) { //setup chromedriver...

View Article
Browsing all 98221 articles
Browse latest View live