Robot frame work >> jquery >> Execute Javascript command -


i using robot frame work, have grid content using jquery. have used "execute javascript" command. not recognizing jquery commands document. or window. using selenium 2. have googled last 2 days found no relevant answers. please tell me if have give new libraries or download selenium1 library instead of selenium2.

error: javascript | fail | webdriverexception: message: u"unknown error: object [object global] has no method 'getelementbyid'\n (session info: chrome=32.0.1700.107)\n (driver info: chromedriver=2.8.241075,platform=windows nt 6.1 sp1 x86_64)"

instead of getelementbyid try using $('#elementid')


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -