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

Using Options & root selector, error w/ document.querySelectorAll

bartonhammond opened this issue · comments

I'm trying to ignore a large section of the page so using the Options, I set the 'root' as div#primary and left the selectors as can be seen in the image below.

screen shot 2017-12-14 at 6 58 37 pm

and here is the object input parameter to the function setDefinitions(input)

screen shot 2017-12-14 at 6 48 40 pm

If I try these commands in the console:

screen shot 2017-12-14 at 6 53 59 pm

Error in event handler for runtime.onMessage: SyntaxError: Failed to execute 'querySelectorAll' on 'Document': 'a.btn.btn-default.dropdown-toggle.' is not a valid selector.