WebDriver is an API for controlling web browsers, e.g. for automated tests. There are different WebDriver "language bindings" (i.e. client libraries) and WebDriver "implementations" (i.e. browser extensions that make a browser controllable via the API), so if your question is specific to one of them,...
2
votes
0answers
35 views
Selenium WebDriver test for Slack
I submitted this script as part of a interview process. It was rejected and no reasons were given. I'm wondering what parts of my script were unacceptable. The script works, and satisfies the question,...
8
votes
2answers
96 views
Error-testing be with cucumber/capybaraweb
I'm working on writing tests for a rails application using cucumber and capybara. I have a scenario for a user editing a post, and making it invalid.
The scenario looks like this:
...
1
vote
0answers
68 views
Select fields from a form by ID or Xpath and fill its value
I'm writing a program/tests in C# using Selenium and Chrome web driver. Everything works well, however I would like to simplify the code and make it object-oriented. I thought about extracting some ...
0
votes
0answers
23 views
Implement PageObjects using TestNg in selenium
I am trying to implement page objects with Page factory using TestNg and selenium. Please advice improvements in it.
Classes:
...
5
votes
1answer
114 views
Newest Reddit submissions grabber
My program does exactly what I want it to do and it works well. However, I feel like it's very clunky.
I'd like my code to be more efficient. By that I mean, I'd like it to accomplish what it already ...
4
votes
1answer
153 views
Selecting filter checkboxes using Selenium
I am using Selenium Webdriver via Java. My method clicks on a filter check box (eg. make, model, etc.), that is passed in, from a modal.
When running my method in my test class, via ChromeDriver, it ...
5
votes
2answers
302 views
Checking if text is NOT displayed
I'm currently writing unit tests in Selenium (C#). I need to do two things in this particular test:
Check if 2 errors (with html container) are displayed and check if another (given) error is not ...
3
votes
0answers
19 views
Submitting forms on pages linked from a main page
In this scenario, the main page contains a list of links to the subpages. The requirement is to navigate to each page (if a condition passes) and perform some actions.
I have written the loop using ...
4
votes
2answers
218 views
Press any login button on any site
I'm working on a script that will be able to press the login button on any site for an app I'm working on. I have it working (still a few edge cases to work out such as multiple submit buttons and ...
3
votes
1answer
94 views
Mixing Watir::Browser into RSpec
In my previous Watir question I was making a module with session_FF accepting a block.
Now I want to make the same but via RSpec. Here is my try:
...
1
vote
1answer
133 views
Improving Watir::Browser for my needs
I want to:
use Watir::Browser methods without browser. instance prefix
expand abilities of ...
4
votes
1answer
165 views
Opening TV episodes in a web browser
I put this together and it seems to work.
1channel.py -breakingbad 1
The Output (1-10):
(1) - Currently 3.80/5
(2) - Currently 3.50/5
(1 opens the link in browser)
if anyone has any suggestions ...