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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -