Tagged Questions
-1
votes
1answer
29 views
How to click the nearest link
Lets say we have a table of people. In each row there is a picture, a name, a city and some social buttons, like PM, add as friend, follow.
How can I "Add as friend" a certain person?
There are 10 ...
0
votes
0answers
18 views
PHP Webdriver - target pages don't load in browser
New to Selenium 2. Here's the issue: each time I run a test, the browser opens but refuses to load URLs. I simply get a blank page. Here's an example using Łukasz Kolczyński's bindings:
require_once ...
1
vote
1answer
40 views
Add C#-like extension methods for WebDriver using Java binding
I wrote a lot of tests in C#, but now at new job i have to write tests in Java. I had a class that's adding extension methods to webdriver (in C#):
public static class WebDriverExtensions
{
...
0
votes
0answers
22 views
Why can't I use the selenium.(etc…) library?
When I try to use the selenium. library to perform commands, they don't work.
I've imported the import com.thoughtworks.selenium.*; library but I get a java: can't find symbol error.
...
0
votes
1answer
33 views
how to disable cookies using webdriver for Chrome and FireFox JAVA
I want launch browsers(FF, CHROME) for test with disabled cookies, I tried this:
service =
new ChromeDriverService.Builder()
...
0
votes
1answer
16 views
How to handle file upload windows in selenium webdriver + python?
I have come across solutions to handle file upload windows but unfortunately none of them talk about what APIs we have for python. Hence I thought to ask this question.
I have a web page with just a ...
0
votes
0answers
25 views
Java Threads for WebDriver (Selenium)
I try to write a simple web Bot in Java (WebDriver). I created two classes. One is scanning google for pages I like and returning next link page when i call getnextadress() method. The second was ...
0
votes
1answer
54 views
selenium to click on several links one after other
I have a table over a webpage having many values repeating like this:
Description App Name Information
Some Desc1 App1 Some Info
Some Desc2 App2 Some Info
Some ...
0
votes
1answer
34 views
Selenium to click on an app name in a filter tool
I have another requirement like this in my c# selenium application. Since there are so many content in my webpage table, it will be quite nice to sort it based on the app name. I have content like ...
0
votes
2answers
38 views
What is the Page object pattern in webdriver?
What is page object pattern in selenium webdriver?
What is the use of it and how we can use this in web driver?
Example will be appreciated
0
votes
2answers
36 views
Why can't I interact with elements within the iframe?
I'm trying to parse and manipulate some data via Selenium and Java (using Firefox as a browser and Ubuntu as an OS).
I want to type to <textarea> within an <iframe>:
Main Form:
...
...
0
votes
1answer
27 views
Error: “command line driver for internet explorer has stopped working ” when trying to destroy the driver in selenium
When running automation tests with selenium, I have been getting this error routinely, but not always, after a test passes. After a pass, it tries to destroy the driver but stalls, and this is not ...
0
votes
3answers
39 views
Can I send email and add an attachment using Java in Selenium Webdriver?
While running a test case, I have a try/catch mechanism and an onevent listener that produces a screenshot if an error/failure occurs.
Can I also compose and email and attach that screenshot there and ...
0
votes
2answers
52 views
find xth td with td contains in same tr xpath python
My page has a table with 11 columns, given text value for column 2, I want to click on the 11th column (arrow button) for the same row.
My DOM looks like this:
<table id=”atab” width=”100%” ...
0
votes
2answers
45 views
java sendkeys Error keys should be a string
I'm getting an error when trying to pass in a username and password to a form field using sendKeys. Below is my User Class followed by my test class. Does anyone know why the application is not ...