Our dev has a like this:

<button _ngcontent-c6="" class="btn btn-block btn-primary mt-lg" type="submit">Login</button>

I tried using:

element(by.buttonText('#submit')); 

but no luck with it.

Note: I’m new to .



Source link https://sqa.stackexchange.com/questions/31704/protractor--how-to--submit-button

LEAVE A REPLY

Please enter your comment!
Please enter your name here