AngularJS form in WebDriver

There is a file upload form with data type input[type="text" i]. I would like to select and upload a file without Robot class and KeyEvent. Class in HTML looks as follows: class="form-control ng-pristine ng-invalid ng-touched". I try to upload a fil...
more »

2017-10-17 14:10 (2) Answers

Selenium Python - How to handle a random pop up?

For the past few months, I have been using Selenium to automate a very boring but essential part of my job which involves uploading forms. Recently, the site has implemented a feed back survey which randomly pops up and switches the driver to a new ...
more »

2017-10-16 20:10 (2) Answers

Headless chrome + ignore-certificate-errors

I need to get headless chrome to ignore certificate errors. The option is ignored when running in headless mode, and the driver returns empty html body tags when navigating to an https resource. <html xmlns="http://www.w3.org/1999/xhtml"><h...
more »

2017-08-04 17:08 (0) Answers

Ruby - Cucumber browser closes after each run

Running Ruby - Cucumber automation scripts on Chrome webdriver. My browser closes after each scenarios even when I have the browser close step commented in the hooks file. I ran a search to see if there are other browser close commands in my framewor...
more »

2017-05-04 17:05 (0) Answers

Chromedriver set single accept language

I am using the ChromeDriver with java and the arquillian drone Framework to test the localization of our webpage. To test the behavior on unsupported locales set in the browser we set the chromes locale via the command line argument: --lang=it The...
more »

2017-04-26 10:04 (1) Answers

Protractor 5.1.1 doesn't work with Chrome 58

Recently my chrome browser updated to Version 57.0.2987.133 (64-bit). Therefore, my existing protractor test is not working with the current version of chrome. The error message is Failed: unknown error: Cannot use 'in' operator to search for 'Stri...
more »

2017-04-21 06:04 (2) Answers

chromedriver running in background

I am not able to completely delete a project, because the chromedriver instance is running in the background, even when there is no code is being executed. Please see the below image. The error I get while the project deletion is: Take the below c...
more »

2017-04-17 07:04 (4) Answers

How to close a chrome browser pop up window?

I am writing a code for Facebook where it takes the URL, ID, Password from a properties file but upon logging in I am hinted with a "Facebook wants to show notifications - Allow - Block" How do I make it so after login it (A.) Presses ESP or ALT+F4 a...
more »

2017-01-01 00:01 (1) Answers

How to clear input with type=date using Protractor

I am using protractor version 4.0.4 and am unable to clear an input when the type is set to date. It appears that Chrome is adding some special controls that are interfering a bit. You can read more about what Chrome does with the date type here ht...
more »

2016-10-17 19:10 (1) Answers