Skip to content

Fix reloadSession subsequent commands#13084

Merged
christian-bromann merged 3 commits intowebdriverio:v8from
ccharnkij:reloadSession-command
Jul 4, 2024
Merged

Fix reloadSession subsequent commands#13084
christian-bromann merged 3 commits intowebdriverio:v8from
ccharnkij:reloadSession-command

Conversation

@ccharnkij
Copy link
Copy Markdown
Contributor

Proposed changes

A bit of an oversight when I worked on #12957. I found that, because the fields inside instance.options were not properly set at the end of the reloadSession function, creating a new session worked but any subsequent commands (like nagivate, etc.) did not work when any other connection fields aside from hostname and port, like protocol, were changed.

Types of changes

  • Polish (an improvement for an existing feature)
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (improvements to the project's docs)
  • Specification changes (updates to WebDriver command specifications)
  • Internal updates (everything related to internal scripts, governance documentation and CI files)

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Further comments

Reviewers: @webdriverio/project-committers

@ccharnkij ccharnkij force-pushed the reloadSession-command branch from 414ae43 to bbe62e5 Compare June 29, 2024 02:02
Copy link
Copy Markdown
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@christian-bromann christian-bromann merged commit b645930 into webdriverio:v8 Jul 4, 2024
@christian-bromann christian-bromann added the PR: Polish 💅 PRs that contain improvements on existing features label Jul 4, 2024
@wdio-bot
Copy link
Copy Markdown
Contributor

wdio-bot commented Jul 4, 2024

Hey ccharnkij 👋

Thank you for your contribution to WebdriverIO! Your pull request has been marked as an "Expensable" contribution. We've sent you an email with further instructions on how to claim your expenses from our development fund. Please make sure to check your spam folder as well. If you have any questions, feel free to reach out to us at expense@webdriver.io or in the contributing channel on Discord.

We are looking forward to more contributions from you in the future 🙌

Have a nice day,
The WebdriverIO Team 🤖

@ccharnkij
Copy link
Copy Markdown
Contributor Author

@christian-bromann I'll do the same for main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Expensable $15 💸 PR: Polish 💅 PRs that contain improvements on existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants