Skip to content Skip to sidebar Skip to footer
Showing posts with the label Protractor

How To Expect Dynamic Count Of Elements In E2e Tests Using Protractor

I'm currently writing some e2e tests for my humble Angular app with Protractor. My app works fi… Read more How To Expect Dynamic Count Of Elements In E2e Tests Using Protractor

Protractor Cucumber Configuration File Throwing Undefined Warning For My Scenarios Even Though Those Are Present

my Configuration file is not able to find the spec file even though it is present in the path that … Read more Protractor Cucumber Configuration File Throwing Undefined Warning For My Scenarios Even Though Those Are Present

Force Protractor's Onprepare To Wait For Async Http Request

My protractor conf.js,onPrepare function needs to make a http request that looks like, onPrepare: f… Read more Force Protractor's Onprepare To Wait For Async Http Request

Can't Access Array From Within Protractor Callback

I'm new to both protractor and javascript. I ran into a scoping issue which I can't figure … Read more Can't Access Array From Within Protractor Callback

Setting An Angular Model Using Protractor

I'm trying to emulate a user story on my website with Protractor. The user has to type in an in… Read more Setting An Angular Model Using Protractor

Protractor - Click Within For Each Not Behaving As Expected

In Following Protractor Code const tabs = await element.all(by.id('tab')); tabs.forEach(asy… Read more Protractor - Click Within For Each Not Behaving As Expected

Is There A Way To Run Particular Protractor Test Depending On The Result Of The Other Test?

This kind of question has been asked before but most of this question has pretty complicated backgr… Read more Is There A Way To Run Particular Protractor Test Depending On The Result Of The Other Test?

How Can I Make Protractor Not Wait For $timeout?

I'm testing my angular application with Protractor. Once the user is logged in to my app, I set… Read more How Can I Make Protractor Not Wait For $timeout?

Locate Element By A Presence Of A Custom Attribute

How do you locate all those elements that has particular custom attribute in Protractor? I found si… Read more Locate Element By A Presence Of A Custom Attribute

Cloning Element Finders

While researching available ElementFinder and ElementArrayFinder methods, I've noticed that the… Read more Cloning Element Finders

How To Enable Private Browsing For Safari In The Protractor Configuration

I've been searching for a way to enable private browsing for Safari in the protractor conf file… Read more How To Enable Private Browsing For Safari In The Protractor Configuration

How Do You Set The Browser Inner Window/viewport Size?

If I call the function: browser.driver.manage().window().setSize(1000, 1000); It sets my window si… Read more How Do You Set The Browser Inner Window/viewport Size?

Protractor - Works Well On Localhost But Remote Throws Timeout - Async Callback Was Not Invoked Within Timeout Specified

When I execute protractor protractor.conf.js --baseUrl=http://localhost:4200/, it works well - fill… Read more Protractor - Works Well On Localhost But Remote Throws Timeout - Async Callback Was Not Invoked Within Timeout Specified

Opening A File With Protractor

Every protractor example I can find on the internet seems to use browser.get with a web URI. browse… Read more Opening A File With Protractor

Unable To Launch Microsoft Edge With Protractor

Unable to launch edge browser on windows 10 with protractor. edge -Microsoft EdgeHTML 15.15063 dow… Read more Unable To Launch Microsoft Edge With Protractor

Some Protractor Tests Are Skipped

When I launch protractor conf.js and this file needs to launch multiple spec files (like below), so… Read more Some Protractor Tests Are Skipped

Imports In Vanilla/pure Js Testing With Protractor And Relative Paths

Until now, I was testing my non-Angular website (I only have JS, no node, not even ES6) using Jasmi… Read more Imports In Vanilla/pure Js Testing With Protractor And Relative Paths

How Do I Overwrite Protractor.conf.js Values From The Command Line?

I currently have protractor setup to run on our integration server. Inside the protractor.conf.js f… Read more How Do I Overwrite Protractor.conf.js Values From The Command Line?

Dropdown In Protractor With Typescript

I m new to Protractor and I want to automate a dropdown selection. I have some idea on how to get i… Read more Dropdown In Protractor With Typescript

How To Start A Server Before Protractor Runs And Clean Up Afterwards

It seems protractor doesn't provide any out of the box solution for starting a server before it… Read more How To Start A Server Before Protractor Runs And Clean Up Afterwards