rickypc / selenium-page-object-generator

A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.
https://chrome.google.com/webstore/detail/epgmnmcjdhapiojbohkkemlfkegmbebb
GNU Affero General Public License v3.0
122 stars 66 forks source link

Error in event handler: not a valid selector #9

Closed skirge closed 6 years ago

skirge commented 8 years ago

My application has following HTML element:

<a href="javascript:__doPostBack('ctl00$maincontent$FunctionalityProjektTabContainer$KorespondencjaTabPanel$KorespondencjaTab$KorespondencjaTabContainer$PrzychodzaceTabPanel$PrzychodzaceControlGrid$KorespondencjaGridView','Sort$NumerOdbiorcy')">Numer pisma</a> While trying to save page object nothing is generated and following error is visible on Javascript console:

extensions::uncaught_exception_handler:8 Error in event handler for runtime.onMessage: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': 'a[href='javascript:__doPostBack('ctl00$maincontent$FunctionalityProjektTabContainer$WnioskiPlatnoscTabPanel$WnioskiPlatnoscTab$UmowyGridView$ctl03$WnioskiOPlatnoscGridView','Sort$NumerWniosku')']' is not a valid selector.

BogdanLivadariu commented 8 years ago

@skirge I guess your problem might get fixed by #8

VaccinalBowl commented 8 years ago

@skirge #8 should fix this issue. Or at least suppress it.

rickypc commented 6 years ago

This should be fixed in version 1.3.0. Please reopen this issue when that is not the case. Closing...