-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How reload a browser with multiremote #451
Comments
hi, if it were me, i'd naïvely try browserInstance.refresh() https://v7.webdriver.io/docs/api/webdriver#refresh - mind that you will need to re-inject wdi5 afterwards again à la https://ui5-community.github.io/wdi5/#/configuration?id=skipinjectui5onstart |
Hi, I work together with the author of this issue. Our setup is slightly more complicated. In addition to multi remote, we are also using btp and custom authentications. If we add skipInjectUI5OnStart: true in wdi5 config then we get below error: [0-0] [wdi5] skipped wdi5 injection! If we comment out skipInjectUI5OnStart: true and refresh using await browserInstance.refresh(); we receive error: |
Hi, and received error: While debugging, in wdio-ui5-service -> service.js -> injectUI5, both this._config and browserInstance.config are undefined. |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
this is still interesting...once bandwidth is there, we'll include it in our test suite |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
this is still on the list to try out! |
@sangeeta298 can you please provide some feedback about the provided suggestion. |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
Hi @vobu, hi @dominikfeininger, is there any update on this issue? |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
closed 📴 because silencio 🤫 since an additional 14 days after staleness 📠 |
someone still needs to try this out :) |
Hi @vobu , Sangeeta wrote at Mai 2023, that she try this out: Maybe can you please help what should we try out? Thanks |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
"some error" won't help much here unfortunately...what's the error (message) exactly? |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
We use multiremote to make our tests with different user roles. It is necessary to reload the browser to see the changes of the other users.
For example:
User2 make some changes in browserInstance2
User1 are able to see the changes from User2 in browserInstance1 <- but the browser needs to be reload.
With
browserInstance1.url("#");
it is possible to updated only the url for one browser instance, but this do not trigger the reload of the website. The result is that browserInstance1 is not able to see the changes from browserInstance2.Is there an other way to realize the workflow?
The text was updated successfully, but these errors were encountered: