What is the difference between .element( and .$( with protractor? -



What is the difference between .element( and .$( with protractor? -

can explain me difference between these 2 ways of clicking protractor:

element(by.repeater('calc in calculations').row(0)).$('#copycalc').click() or element(by.repeater('calc in calculations').row(0)).element(by.css('#copycalc')).click()

quote protrator docs $:

'shortcut querying document straight css'

source $

as far understand, $('.acssclass') , element(by.css('.acssclass')) same.

source element

protractor

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -