Is there a way to set the number of rows to run on the TestContext from the...
I know we can use DataSource attribute to decorate a TestMethod and do data driven testing. Is it possible to set number of rows to run after the data has returned? For example, if I get back 100 rows,...
View ArticleSelenium throwing null pointer for wait.until
Trying to automate a page in salesforce, seeing weird issue when trying to wait for an element.@FindBy(xpath = "//span[@title='console']") private WebElement consoleTitle; public void...
View Articlexpath issues with multiple tags
I am working on Java - Selenium. My code looks like below <a _ngcontent-c6="" class="main-body-text" tabindex="0">Read more about <span _ngcontent-c6=""...
View ArticleHow to download a pdf file in chrome using selenium webdriver
I want to download pdf in chrome using selenium. System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + System.getProperty("file.separator") + "BrowserDrivers" +...
View ArticleTests run on remote mac error with "unable to connect to safaridriver" in...
I have a remote mac mini hosted in a mac-specialized data center (MacStadium) which I have SSH access to. As far as I know, it's a headless box with no monitor or external hardware attached.We're...
View ArticleGet the on-screen location of web page with Selenium WebDriver
Is there a way to get the on-screen coordinates of HTML window (page body) with Selenium WebDriver?
View ArticleHow to click available button which refuses the click?
I'm working on automation of one website. My problem is that the button which is visible in my selenium (simply prints out) stopped working after recent update. Eventho I can see it, I cannot click it....
View ArticleI can't solve this problem can someone help me? "'NoneType' object has no...
The problem is how can i use send_keys? Because it is not writing in the search bar.I search in the documents but i can't solve it.from selenium import webdriver from selenium.webdriver.support.ui...
View ArticleSelenium java can't get html text
I have this HTML code:<span id="slotTotal"> <span id="slotUsed">4</span> /16 </span> I want to get text /16 but when I try:slotTot =...
View Articleiframe zoom out issue trigger scroll selenium java
I am trying to capture a snapshot from a large tableau report that has a huge iframe. In order to capture the full screen I need to zoom out. With a regular url pages the following code work perfectly,...
View ArticleHow to set preferences for Chrome in Selenium Python
I am able to set preferences for Firefox as below.set_preference = profile.set_preference set_preference("network.http.response.timeout", 30) set_preference("media.autoplay.enabled", False)...
View ArticleWebdriver Automation - Unable to find element using xpath
Environment: Eclipse - Java - Junit - firefox webdriverScreen shot url : https://www.dropbox.com/s/26fl2l1y1mkpxiz/Screenshot%202014-01-06%2001.52.43.pngI am trying to test a webpage but unable to find...
View ArticleHow to click on button when input type =Button in Selenium Web driver by...
How to click on button when input type is button , I am using below code, click on button is working but data is not...
View ArticleRunning multiple parallel Selenium WebDriver sessions
I am wondering if we are able to run two Selenium WebDriver sessions, or how I can handle two browser windows using the same WebDriver and run them in parallel.
View ArticleHow to run testNG en parallel but for different tests
I'm trying to run my automation suite (implemented using Selenium Webdriver (Java) + TestNG + Maven) in parallel on different Android devices. Here's my code in xml:<test name="Test1">...
View ArticleSelenium (argument --headless) + (marionette = False)
I'm trying to scrap pages with javascript using python. I'm a total beginner at this so I've read lots of tutorials. I've finally found that I needed selenium, beautiful_soup, and the firefox...
View ArticleHow to get innerHTML of whole page in selenium driver?
I'm using selenium to click to the web page I want, and then parse the web page using Beautiful Soup. Somebody has shown how to get inner HTML of an element in a Selenium WebDriver. Is there a way to...
View ArticlePosting a tweet in twitter using python selenium for a poc
I am trying to post a tweet in Twitter using python and selenium But at the time of posting it is giving me timeout error. I have the code ready....from selenium import webdriver from...
View ArticleHow to upload a file in popup using Selenium remote webdriver on linux machine
I have to automate an application and am working on Windows machine. On clicking some button, window popup opens where I can choose a file or enter the path. Upload functionality is working fine using...
View ArticleExport test case as - Java / JUnit /Webdriver using latest Selenium IDE
Is there an option to export the tests as "Java / JUnit /Webdriver" or 'Enable Webdriver Playback' option using latestSelenium IDE? I added this extension to my Firefox browser and I don't find these...
View Article