This thread is trying to answer question "How can I use Xrm object in my Playwright tests for MS CRM 2016 with API v8.2?"
You may also get xrm through js evaluation, like in the examples here https://playwright.dev/docs/evaluating#evaluation-argument
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].