Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions dotnet/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,28 @@ When all steps combined have not finished during the specified [Timeout](/api/cl

---

### Describe {#locator-describe}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.53</font><x-search>locator.Describe</x-search>

Describes the locator, description is used in the trace viewer and reports. Returns the locator pointing to the same element.

**Usage**

```csharp
Locator.Describe(description);
```

**Arguments**
- `description` [string]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-option-description"/><a href="#locator-describe-option-description" class="list-anchor">#</a>

Locator description.

**Returns**
- [Locator]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-return"/><a href="#locator-describe-return" class="list-anchor">#</a>

---

### DispatchEventAsync {#locator-dispatch-event}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.14</font><x-search>locator.DispatchEventAsync</x-search>
Expand Down
22 changes: 22 additions & 0 deletions java/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,28 @@ When all steps combined have not finished during the specified [setTimeout](/api

---

### describe {#locator-describe}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.53</font><x-search>locator.describe</x-search>

Describes the locator, description is used in the trace viewer and reports. Returns the locator pointing to the same element.

**Usage**

```java
Locator.describe(description);
```

**Arguments**
- `description` [String]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-option-description"/><a href="#locator-describe-option-description" class="list-anchor">#</a>

Locator description.

**Returns**
- [Locator]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-return"/><a href="#locator-describe-return" class="list-anchor">#</a>

---

### dispatchEvent {#locator-dispatch-event}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.14</font><x-search>locator.dispatchEvent</x-search>
Expand Down
22 changes: 22 additions & 0 deletions nodejs/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,28 @@ When all steps combined have not finished during the specified [timeout](/api/cl

---

### describe {#locator-describe}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.53</font><x-search>locator.describe</x-search>

Describes the locator, description is used in the trace viewer and reports. Returns the locator pointing to the same element.

**Usage**

```js
locator.describe(description);
```

**Arguments**
- `description` [string]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-option-description"/><a href="#locator-describe-option-description" class="list-anchor">#</a>

Locator description.

**Returns**
- [Locator]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-return"/><a href="#locator-describe-return" class="list-anchor">#</a>

---

### dispatchEvent {#locator-dispatch-event}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.14</font><x-search>locator.dispatchEvent</x-search>
Expand Down
22 changes: 22 additions & 0 deletions python/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,28 @@ When all steps combined have not finished during the specified [timeout](/api/cl

---

### describe {#locator-describe}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.53</font><x-search>locator.describe</x-search>

Describes the locator, description is used in the trace viewer and reports. Returns the locator pointing to the same element.

**Usage**

```python
locator.describe(description)
```

**Arguments**
- `description` [str]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-option-description"/><a href="#locator-describe-option-description" class="list-anchor">#</a>

Locator description.

**Returns**
- [Locator]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-describe-return"/><a href="#locator-describe-return" class="list-anchor">#</a>

---

### dispatch_event {#locator-dispatch-event}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.14</font><x-search>locator.dispatch_event</x-search>
Expand Down
Loading