In the case of using the browser.cdp, it works fine when running the test on the local environment, but in the case of remote running, I get this error:
[chrome 98.0.4758.102 linux #0-0] browser.cdp is not a function
[chrome 98.0.4758.102 linux #0-0] TypeError: browser.cdp is not a function
[chrome 98.0.4758.102 linux #0-0] at Context. (/home/gunaravikumar/automated-qa-mp/test/specs/tires_wallet_landing_test.js:33:39).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In the case of using the browser.cdp, it works fine when running the test on the local environment, but in the case of remote running, I get this error:
[chrome 98.0.4758.102 linux #0-0] browser.cdp is not a function
[chrome 98.0.4758.102 linux #0-0] TypeError: browser.cdp is not a function
[chrome 98.0.4758.102 linux #0-0] at Context. (/home/gunaravikumar/automated-qa-mp/test/specs/tires_wallet_landing_test.js:33:39).