rickypc / selenium-page-object-generator

A nimble and flexible Selenium Page Object Model generator to improve agile testing process velocity.

Home Page:https://chrome.google.com/webstore/detail/epgmnmcjdhapiojbohkkemlfkegmbebb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in event handler: not a valid selector

skirge opened this issue · comments

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.

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

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

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