Top "Protractor" questions

Protractor is an end-to-end test framework for Angular and AngularJS applications built on top of WebDriverJs.

How to select option in drop down protractorjs e2e tests

I am trying to select an option from a drop down for the angular e2e tests using protractor. Here …

javascript angularjs selenium testing protractor
Protractor : How to wait for page complete after click a button?

In a test spec, I need to click a button on a web page, and wait for the new page …

jasmine protractor wait
How to import js-modules into TypeScript file?

I have a Protractor project which contains such a file: var FriendCard = function (card) { var webElement = card; var menuButton; var …

javascript typescript protractor webstorm
Error 'tunneling socket' while executing npm install

I'm getting the error shown below while trying to execute 'npm install' command. Error: tunneling socket could not be established, …

npm protractor
How to use protractor to check if an element is visible?

I'm trying to test if an element is visible using protractor. Here's what the element looks like: <i class="…

angularjs visible protractor
toBe(true) vs toBeTruthy() vs toBeTrue()

What is the difference between expect(something).toBe(true), expect(something).toBeTruthy() and expect(something).toBeTrue()? Note that toBeTrue() is …

javascript testing jasmine protractor jasmine-matchers
How to getText on an input in protractor

In the documentation for protractor, I see the following example: describe('by model', function() { it('should find an element by …

angularjs protractor
Is there a way to close a tab in WebDriver or Protractor?

Is there a way to physically close a tab via Protractor or WebDriver? I ask because while I know how …

selenium selenium-webdriver protractor
How to test if an element has class using Protractor?

I'm trying out Protractor to e2e test Angular app and haven't figured out how to detect if an element …

angularjs protractor
How to set default browser window size in Protractor/WebdriverJS

For some reason when I run my tests at work the browser is maximized, but when I run them at …

javascript angularjs selenium-webdriver webdriver protractor