WebdriverIO / Appium Multiremote with same PageObjectModel class access

Viewed 10

How can I use multiremote instances to login one user on one phone and other on other phone in order for them to comunicate by using POM also.

Current flow for login is here

current login

Login.page.js content:

[login page js2

Page.js content:

page js content is here

And i need something like this login one user on one device and other on second device:

enter image description here

I created page.js as main page object model that is extended by all other page objects. I set multiremote phone1 and phone2 capabilities and that works okay.

Structure of my folder enter image description here

Setup: WebdriverIO and Appium, trying to connect two Android devices.

0 Answers
Related