Skip to content

Commit 744290a

Browse files
shbenzerharsha509
andauthored
upgraded headers to reflect error messages (#1963)[deploy site]
Co-authored-by: Sri Harsha <12621691+harsha509@users.noreply.github.com>
1 parent 71e6c1e commit 744290a

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ aliases: [
1212
]
1313
---
1414

15-
## Invalid Selector Exception
15+
## InvalidSelectorException
1616

1717
CSS and XPath Selectors are sometimes difficult to get correct.
1818

@@ -29,7 +29,7 @@ Run your selector through a validator service:
2929
Or use a browser extension to get a known good value:
3030
* [SelectorsHub](https://selectorshub.com/selectorshub/)
3131

32-
## No Such Element Exception
32+
## NoSuchElementException
3333

3434
The element can not be found at the exact moment you attempted to locate it.
3535

@@ -46,7 +46,7 @@ The element can not be found at the exact moment you attempted to locate it.
4646
* Update the locator with the browser's devtools console or use a browser extension like:
4747
* [SelectorsHub](https://selectorshub.com/selectorshub/)
4848

49-
## Stale Element Reference Exception
49+
## StaleElementReferenceException
5050

5151
An element goes stale when it was previously located, but can not be currently accessed.
5252
Elements do not get relocated automatically; the driver creates a reference ID for the element and
@@ -132,7 +132,7 @@ In instances where the element is out of view, but Selenium still registers the
132132
method to execute a javascript function to scroll (e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`)
133133
or you can utilize the Actions class with `Actions.moveToElement(element)`.
134134

135-
## Invalid SessionId Exception
135+
## InvalidSessionIdException
136136

137137
Sometimes the session you're trying to access is different than what's currently available
138138

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >
66
How to get deal with various problems in your Selenium code.
77
---
88

9-
## Invalid Selector Exception
9+
## InvalidSelectorException
1010

1111
CSS and XPath Selectors are sometimes difficult to get correct.
1212

@@ -23,7 +23,7 @@ Run your selector through a validator service:
2323
Or use a browser extension to get a known good value:
2424
* [SelectorsHub](https://selectorshub.com/selectorshub/)
2525

26-
## No Such Element Exception
26+
## NoSuchElementException
2727

2828
The element can not be found at the exact moment you attempted to locate it.
2929

@@ -40,7 +40,7 @@ The element can not be found at the exact moment you attempted to locate it.
4040
* Update the locator with the browser's devtools console or use a browser extension like:
4141
* [SelectorsHub](https://selectorshub.com/selectorshub/)
4242

43-
## Stale Element Reference Exception
43+
## StaleElementReferenceException
4444

4545
An element goes stale when it was previously located, but can not be currently accessed.
4646
Elements do not get relocated automatically; the driver creates a reference ID for the element and
@@ -128,7 +128,7 @@ In instances where the element is out of view, but Selenium still registers the
128128
method to execute a javascript function to scroll (e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`)
129129
or you can utilize the Actions class with `Actions.moveToElement(element)`.
130130

131-
## Invalid SessionId Exception
131+
## InvalidSessionIdException
132132

133133
Sometimes the session you're trying to access is different than what's currently available
134134

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >
66
How to get deal with various problems in your Selenium code.
77
---
88

9-
## Invalid Selector Exception
9+
## InvalidSelectorException
1010

1111
CSS and XPath Selectors are sometimes difficult to get correct.
1212

@@ -23,7 +23,7 @@ Run your selector through a validator service:
2323
Or use a browser extension to get a known good value:
2424
* [SelectorsHub](https://selectorshub.com/selectorshub/)
2525

26-
## No Such Element Exception
26+
## NoSuchElementException
2727

2828
The element can not be found at the exact moment you attempted to locate it.
2929

@@ -40,7 +40,7 @@ The element can not be found at the exact moment you attempted to locate it.
4040
* Update the locator with the browser's devtools console or use a browser extension like:
4141
* [SelectorsHub](https://selectorshub.com/selectorshub/)
4242

43-
## Stale Element Reference Exception
43+
## StaleElementReferenceException
4444

4545
An element goes stale when it was previously located, but can not be currently accessed.
4646
Elements do not get relocated automatically; the driver creates a reference ID for the element and
@@ -130,7 +130,7 @@ In instances where the element is out of view, but Selenium still registers the
130130
(e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`) or you can utilize the Actions
131131
class with `Actions.moveToElement(element)`.
132132

133-
## Invalid SessionId Exception
133+
## InvalidSessionIdException
134134

135135
Sometimes the session you're trying to access is different than what's currently available
136136

website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.zh-cn.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >
66
如何处理Selenium代码中的各种问题.
77
---
88

9-
## 无效选择器的异常 (Invalid Selector Exception)
9+
## 无效选择器的异常 (InvalidSelectorException)
1010

1111
某些时候难以获得正确的CSS以及XPath选择器。
1212

@@ -23,7 +23,7 @@ description: >
2323
或者使用浏览器扩展程序来获取已知的良好值:
2424
* [SelectorsHub](https://selectorshub.com/selectorshub/)
2525

26-
## 没有这样元素的异常 (No Such Element Exception)
26+
## 没有这样元素的异常 (NoSuchElementException)
2727

2828
在您尝试找到该元素的当前时刻无法定位元素。
2929

@@ -40,7 +40,7 @@ description: >
4040
* 使用浏览器的devtools控制台更新定位器或使用浏览器扩展程序,例如:
4141
* [SelectorsHub](https://selectorshub.com/selectorshub/)
4242

43-
## 过时元素引用的异常 (Stale Element Reference Exception)
43+
## 过时元素引用的异常 (StaleElementReferenceException)
4444

4545
当成功定位到元素时,
4646
WebDriver会为其设置一个引用ID作为标记,
@@ -137,7 +137,7 @@ In instances where the element is out of view, but Selenium still registers the
137137
(e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`) or you can utilize the
138138
Actions class with `Actions.moveToElement(element)`.
139139

140-
## 无效 SessionId 异常
140+
## 无效SessionId异常
141141
有时您尝试访问的会话与当前可用的会话不同。
142142

143143
### 可能原因

0 commit comments

Comments
 (0)