Hi, I'm new to Playwright, and I am progressing with the application very well so far. I have installed the latest version of the application and I am having problems with the GetByRole locator I am getting the following error "'IPage' does not contain a definition for 'GetByRole' and no accessible extension method 'GetByRole' accepting a first argument of type 'IPage' could be found (are you missing a using directive or an assembly reference?)"
Playwright version 1.39.0
Please help me solve my problem.
Thanks in advance!
This thread is trying to answer question "How can I resolve the error 'IPage' does not contain a definition for 'GetByRole' in Playwright?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].