How do I need correctly select items in dropdown menu?
I am new with automation testing and right now I'm trying to select values in drop down menu. As I understand there are 2 drop downs in my example, but lack of experience makes it difficult to get the...
View ArticleDependence injection to initialize driver in cucumber project and use hook...
I`m trying to implement cucumber with Page Object Model and i faced couple problems and have lots of questions.My iOS app is not that complex, but i still want to orginize all stepdefs and features to...
View ArticleThe type or namespace name 'NUnit' could not be found
I have a c# code.(which is exported from selenium IDE) using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using Selenium; namespace...
View ArticleUnable to locate element method XPath , Selector
I am not sure why its not able to identify the control holding the value. I tried with Class as well which did not work. Could any one please let me know what should a do.this is my code string locator...
View ArticleI have an error when I am running this code | python selenium
This is the codefrom selenium import webdriver driver = webdriver.Firefox()...
View ArticleHow to grab innerHTML with Selenium VBA
I'm trying to grab the innerHTML if a popup comes up while doing a task in chrome and then based on the innerHTML either click okay and save or exit. The problem where I am running into is just before...
View ArticleFill username and password using selenium in python
How can I auto fill the username and password over the link below:from selenium import webdriver from selenium.webdriver.common.keys import Keys chromedriver = 'C:\\chromedriver.exe' browser =...
View Articlepython scrape page + next page loop from url or element button
It just prints the first page does not go and prints the other page where is the problem? I'm new to Pythonfrom urllib.request import urlopen from bs4 import BeautifulSoup import re import requests for...
View ArticleControl findable using selenium/javascript not findable in...
I use Cucumber/selenium/JavaScript to log into my application page. This works with no problem. After I log in, however, the system won't wait for the control to be visible and reports that it can't...
View ArticleIs this the correct way to write script using Selenium web driver? and how I...
Below is the code to automate Amazon.com from search to payment page and it works perfectly fine. I am new to selenium. SO what factors I should keep in mind while writing a script? and What more...
View ArticleC# Selenium Firefox Set socks proxy with Auth
In C# I'm trying to set socks proxy with authentification in firefox.This doesn't work Proxy proxy = new Proxy(); proxy.SocksProxy = sProxyIP + ":" + sProxyPort; proxy.SocksUserName = sProxyUser;...
View ArticleCan't use existing Firefox profile in Selenium WebDriver using C#
I need to use a shared profile for Firefox, which doesn't get deleted on exit. Seems that this can be done using a FirefoxProfile or FirefoxOptions. But none of them seems to work: When starting the...
View ArticleR - RSelenium dropdown boxes and value selection
I using RSelenium to fill out an online form, but I'm having an issue with selecting an input when it comes to dropdown boxes. I can access the dropdown box but can only select the value when I type in...
View Articleselenium log all requests without thirdparty tools nodejs
is it possible to log the http requests like from the network panel in the dev tools without using browsermob? i have seen examples using browser mob but i would like to be able todo this without using...
View ArticleIs there any solution to concatenate two enum classes, builder pattern?
I need to test web page, so we build pages via enum class. In first enum class we have Pages and in second enum we have saved type of pages like "uk", "canada" it , because different type of page need...
View ArticleHow to go to webpage without delay at "data;" page with Selenium Chromedriver...
I am using Selenium and Chrome webdriver in Python, when I'm running script it opens chrome normally, but it waits in "data;" page around 10 seconds and than go to page normally. Can i skip that...
View ArticleInvalidArgumentException after update to ChromeDriver 78.0.3904.70
My Selenium script worked fine till today, last used a few days ago. When trying to run the script, I had to update ChromDriver to 78.0.3904.70 as this version wasn't compatible. I guess because my...
View ArticlePDF Download with Selenium for Chrome in Python
I write a Script for a massdownload of PDF-files in a Loop. Firefoxbased Selenium-Webdriver stuck after the first Download, so i decide to try Chrome. With Chrome the Loop is working now. But i can not...
View ArticleError: 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-standalone action [options] I have java...
View ArticleSelenium.WebDriver.ChromeDriver slow to launch - why?
I've created the simplest-possible NUnit test to initialise a ChromeDriver, and it's taking nearly 6 seconds to run. Most of the time (roughly 4s) is spent with a blank, inactive Chrome window.The...
View Article