Closed
How to handle selenium locator when html Id tag has spaces
In pega application, some id html tags have spaces in-between it. For example:
id="dffggCreate new action"
Nosuchelementpresent exception is thrown for this in selenium when using by.id("dffggCreate new action")
Can you provide how to handle this id locator in such a scenario?
***Edited by Moderator Marije to add Capability tags***
To see attachments, please log in.