Difference between revisions of "IT-SDK-Protractor"
Jump to navigation
Jump to search
(→Initial) |
(→Initial) |
||
| Line 2: | Line 2: | ||
* src: http://protractortest.org/#/tutorial | * src: http://protractortest.org/#/tutorial | ||
* src: http://jasmine.github.io/ | * src: http://jasmine.github.io/ | ||
| − | * src: | + | * src: http://jasmine.github.io/2.0/introduction |
| + | * src: http://devhints.io/jasmine | ||
=Browser= | =Browser= | ||
Revision as of 09:51, 28 July 2020
Initial
- src: http://protractortest.org/#/tutorial
- src: http://jasmine.github.io/
- src: http://jasmine.github.io/2.0/introduction
- src: http://devhints.io/jasmine
Browser
src: https://github.com/angular/protractor/blob/master/docs/browser-setup.md#using-headless-chrome
browserName: 'chrome',
chromeOptions: {args: [ "--headless", "--disable-gpu", "--window-size=1100,800" ]},
Element
By
- by.css - by.xpath - by.partialLinkText - by.name - by.tagName - by.cssContainingText - by.className
##
src:
browser.findElement(by.name('dog_name'));
element(##).
-
Expect
- expect($ELEMENT).toBe($VALUE);