Hot answers tagged

1 vote

Robot Framework how to set a variable in an xpath?

You can use the built-in variable syntax of Robot Framework to set variables in your XPath expression. Here is an example: ${REPLACETHIS}= Set Variable default ${list_item}= Set Variable xpath=//*[...
IAmMilinPatel's user avatar
1 vote

Unable to fetch text values present within strong tag using xpath

Solution : I have tried accessing the element and get text successfully using System.out.println(driver.findElement(By.tagName("strong")).getText()); Found working as expected Suggestion :...
Narendra Chandratre's user avatar
1 vote

Selenium : Unable to identify the Xpath of the Grammarly extension in chrome

This element is inside a shadow root. Xpath is not supported here. We should use css selector and access it through its host element and the shadow root. To know more about this follow this url: https:...
ravi kumar's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible