You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,3 +97,15 @@ and have destroyed the context in which the element was located.
97
97
You can't just relocate it from the current context,
98
98
and you can't switch back to an active context where it is valid. If this is the reason
99
99
for your error, you must both navigate back to the correct location and relocate it.
100
+
101
+
## Invalid SessionId Exception
102
+
103
+
Sometimes the session you're trying to access is different than what's currently available
104
+
105
+
### Likely Cause
106
+
107
+
This usually occurs when the session has been deleted (e.g. `driver.quit()`) or if the session has changed, like when the last tab/browser has closed (e.g. `driver.close()`)
108
+
109
+
### Possible Solutions
110
+
111
+
Check your script for instances of `driver.close()` and `driver.quit()`, and any other possible causes of closed tabs/browsers. It could be that you are locating an element before you should/can.
Copy file name to clipboardExpand all lines: website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -91,3 +91,15 @@ and have destroyed the context in which the element was located.
91
91
You can't just relocate it from the current context,
92
92
and you can't switch back to an active context where it is valid. If this is the reason
93
93
for your error, you must both navigate back to the correct location and relocate it.
94
+
95
+
## Invalid SessionId Exception
96
+
97
+
Sometimes the session you're trying to access is different than what's currently available
98
+
99
+
### Likely Cause
100
+
101
+
This usually occurs when the session has been deleted (e.g. `driver.quit()`) or if the session has changed, like when the last tab/browser has closed (e.g. `driver.close()`)
102
+
103
+
### Possible Solutions
104
+
105
+
Check your script for instances of `driver.close()` and `driver.quit()`, and any other possible causes of closed tabs/browsers. It could be that you are locating an element before you should/can.
Copy file name to clipboardExpand all lines: website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -91,3 +91,15 @@ and have destroyed the context in which the element was located.
91
91
You can't just relocate it from the current context,
92
92
and you can't switch back to an active context where it is valid. If this is the reason
93
93
for your error, you must both navigate back to the correct location and relocate it.
94
+
95
+
## Invalid SessionId Exception
96
+
97
+
Sometimes the session you're trying to access is different than what's currently available
98
+
99
+
### Likely Cause
100
+
101
+
This usually occurs when the session has been deleted (e.g. `driver.quit()`) or if the session has changed, like when the last tab/browser has closed (e.g. `driver.close()`)
102
+
103
+
### Possible Solutions
104
+
105
+
Check your script for instances of `driver.close()` and `driver.quit()`, and any other possible causes of closed tabs/browsers. It could be that you are locating an element before you should/can.
0 commit comments