You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code will fail because ElementFinder assumes '=' separates a prefix from the value and interprets 'detail?name' as a locator prefix:
Open Browser https://code.google.com/p/robotframework/downloads/list?can=1&q=
Page Should Contain Element xpath=//a[@href='detail?name=robotframework-2.7.7.win32.exe&can=1&q=']
Click Link detail?name=robotframework-2.7.7.win32.exe&can=1&q=
actual error:
ValueError: Element locator with prefix 'detail?name' is not supported
This forces the user to use a specific strategy. If a prefix 'default' were added, then the user could do this as a workaround:
Click Link default=detail?name=robotframework-2.7.7.win32.exe&can=1&q=
Other options include:
provide to provide a way to escape '='s.
use the default strategy when a locator prefix is not recognized rather than raising an error
The text was updated successfully, but these errors were encountered:
The following code will fail because ElementFinder assumes '=' separates a prefix from the value and interprets 'detail?name' as a locator prefix:
actual error:
ValueError: Element locator with prefix 'detail?name' is not supported
This forces the user to use a specific strategy. If a prefix 'default' were added, then the user could do this as a workaround:
Other options include:
The text was updated successfully, but these errors were encountered: