diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md index 5d675125e850..acf3f2b0e4cd 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.en.md @@ -12,7 +12,7 @@ aliases: [ ] --- -## Invalid Selector Exception +## InvalidSelectorException CSS and XPath Selectors are sometimes difficult to get correct. @@ -29,7 +29,7 @@ Run your selector through a validator service: Or use a browser extension to get a known good value: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## No Such Element Exception +## NoSuchElementException The element can not be found at the exact moment you attempted to locate it. @@ -46,7 +46,7 @@ The element can not be found at the exact moment you attempted to locate it. * Update the locator with the browser's devtools console or use a browser extension like: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## Stale Element Reference Exception +## StaleElementReferenceException An element goes stale when it was previously located, but can not be currently accessed. 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 method to execute a javascript function to scroll (e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`) or you can utilize the Actions class with `Actions.moveToElement(element)`. -## Invalid SessionId Exception +## InvalidSessionIdException Sometimes the session you're trying to access is different than what's currently available diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md index 7e9c9709d67b..450a8b56c157 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.ja.md @@ -6,7 +6,7 @@ description: > How to get deal with various problems in your Selenium code. --- -## Invalid Selector Exception +## InvalidSelectorException CSS and XPath Selectors are sometimes difficult to get correct. @@ -23,7 +23,7 @@ Run your selector through a validator service: Or use a browser extension to get a known good value: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## No Such Element Exception +## NoSuchElementException The element can not be found at the exact moment you attempted to locate it. @@ -40,7 +40,7 @@ The element can not be found at the exact moment you attempted to locate it. * Update the locator with the browser's devtools console or use a browser extension like: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## Stale Element Reference Exception +## StaleElementReferenceException An element goes stale when it was previously located, but can not be currently accessed. 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 method to execute a javascript function to scroll (e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`) or you can utilize the Actions class with `Actions.moveToElement(element)`. -## Invalid SessionId Exception +## InvalidSessionIdException Sometimes the session you're trying to access is different than what's currently available diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md index 571b54e61f76..a01cdd0ae7b2 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.pt-br.md @@ -6,7 +6,7 @@ description: > How to get deal with various problems in your Selenium code. --- -## Invalid Selector Exception +## InvalidSelectorException CSS and XPath Selectors are sometimes difficult to get correct. @@ -23,7 +23,7 @@ Run your selector through a validator service: Or use a browser extension to get a known good value: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## No Such Element Exception +## NoSuchElementException The element can not be found at the exact moment you attempted to locate it. @@ -40,7 +40,7 @@ The element can not be found at the exact moment you attempted to locate it. * Update the locator with the browser's devtools console or use a browser extension like: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## Stale Element Reference Exception +## StaleElementReferenceException An element goes stale when it was previously located, but can not be currently accessed. 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 (e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`) or you can utilize the Actions class with `Actions.moveToElement(element)`. -## Invalid SessionId Exception +## InvalidSessionIdException Sometimes the session you're trying to access is different than what's currently available diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.zh-cn.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.zh-cn.md index b88ec8355af3..fe8e5d9162aa 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/_index.zh-cn.md @@ -6,7 +6,7 @@ description: > 如何处理Selenium代码中的各种问题. --- -## 无效选择器的异常 (Invalid Selector Exception) +## 无效选择器的异常 (InvalidSelectorException) 某些时候难以获得正确的CSS以及XPath选择器。 @@ -23,7 +23,7 @@ description: > 或者使用浏览器扩展程序来获取已知的良好值: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## 没有这样元素的异常 (No Such Element Exception) +## 没有这样元素的异常 (NoSuchElementException) 在您尝试找到该元素的当前时刻无法定位元素。 @@ -40,7 +40,7 @@ description: > * 使用浏览器的devtools控制台更新定位器或使用浏览器扩展程序,例如: * [SelectorsHub](https://selectorshub.com/selectorshub/) -## 过时元素引用的异常 (Stale Element Reference Exception) +## 过时元素引用的异常 (StaleElementReferenceException) 当成功定位到元素时, WebDriver会为其设置一个引用ID作为标记, @@ -137,7 +137,7 @@ In instances where the element is out of view, but Selenium still registers the (e.g. `WebDriver.executeScript('window.scrollBy(0,-250)')`) or you can utilize the Actions class with `Actions.moveToElement(element)`. -## 无效 SessionId 异常 +## 无效SessionId异常 有时您尝试访问的会话与当前可用的会话不同。 ### 可能原因