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
Binary file modified assets/images/kaneai-github-app/github-actions-three.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions docs/playwright-android-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export LT_ACCESS_KEY="YOUR_LAMBDATEST_ACCESS_KEY"
| Language | Supported Playwright Versions |
|----------|-------------------------------|
| **JavaScript (Node.js)** | Up to **v1.59.0** |
| **Java, Python, C#** | Up to **v1.53.2** |
| **Java, Python, C#** | Up to **v1.53.0** |

<Tabs className="docs__val">

Expand Down Expand Up @@ -152,8 +152,8 @@ const { chromium } = require("playwright");
const capabilities = {
"LT:Options": {
platformName: "android",
deviceName: "Pixel 5",
platformVersion: "11",
deviceName: ".*",
platformVersion: ".*",
isRealMobile: true,
build: "Playwright Android Build",
name: "Playwright Android Test",
Expand Down Expand Up @@ -216,8 +216,8 @@ const { _android } = require("playwright");
const capabilities = {
"LT:Options": {
platformName: "android",
deviceName: "Pixel 5",
platformVersion: "11",
deviceName: ".*",
platformVersion: ".*",
isRealMobile: true,
build: "Playwright Android Build",
name: "Playwright Android Test",
Expand Down Expand Up @@ -301,8 +301,8 @@ def main():
capabilities = {
"LT:Options": {
"platformName": "android",
"deviceName": "Pixel 5",
"platformVersion": "11",
"deviceName": ".*",
"platformVersion": ".*",
"isRealMobile": True,
"build": "Playwright Android Build",
"name": "Playwright Android Test",
Expand Down Expand Up @@ -375,8 +375,8 @@ public class PlaywrightAndroidTest {
public static void main(String[] args) {
Map<String, Object> ltOptions = new LinkedHashMap<>();
ltOptions.put("platformName", "android");
ltOptions.put("deviceName", "Pixel 5");
ltOptions.put("platformVersion", "11");
ltOptions.put("deviceName", ".*");
ltOptions.put("platformVersion", ".*");
ltOptions.put("isRealMobile", true);
ltOptions.put("build", "Playwright Android Build");
ltOptions.put("name", "Playwright Android Test");
Expand Down Expand Up @@ -446,8 +446,8 @@ var capabilities = new Dictionary<string, object>
["LT:Options"] = new Dictionary<string, object>
{
["platformName"] = "android",
["deviceName"] = "Pixel 5",
["platformVersion"] = "11",
["deviceName"] = ".*",
["platformVersion"] = ".*",
["isRealMobile"] = true,
["build"] = "Playwright Android Build",
["name"] = "Playwright Android Test",
Expand Down
13 changes: 13 additions & 0 deletions docs/smartui-selenium-java-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ SmartUISnapshot.smartuiSnapshot(driver, "Screenshot Name", options);

You can capture screenshots of targeted elements by leveraging various locator mechanisms such as XPath, CSS ID, class, and selectors. This precision-driven approach ensures accurate and specific visual regression testing for your web application's components.

You can also pass a resolved `WebElement` object directly to the `smartuiSnapshot` function. This is especially useful when stable locators (such as IDs or XPaths) are not available, as you can locate the element using any strategy in your test code and pass the reference directly.

<Tabs className='docs__val' groupId='framework'>
<TabItem value='ElementID' label='Capture Element by ID' default>

Expand Down Expand Up @@ -432,6 +434,17 @@ SmartUISnapshot.smartuiSnapshot(driver, "Screenshot Name", options);
```
</TabItem>

<TabItem value='ElementWebElement' label='Capture Element by WebElement'>

```java title="This is a sample for your configuration for Java to capture an element by passing a WebElement object."
WebElement element = driver.findElement(By.id("Required ID")); // locate using any strategy
HashMap<String, Object> options = new HashMap<>();
options.put("element", element);
driver.get("Required URL");
SmartUISnapshot.smartuiSnapshot(driver, "Screenshot Name", options);
```
</TabItem>

</Tabs>

## For capturing interactive lazy loading elements
Expand Down
2 changes: 1 addition & 1 deletion docs/timeouts-issues-and-resolutions.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Maximum number of test cases that can be queued = n + 150

Queuing timeout could happen because of the below:

**Tests in Queue Taking Too Long to Complete:** Tests are queued for only 10 minutes. If the tests in your queue exceed the 10-minute timeline, they are removed from queue. This aborts the execution of your tests, leading to a timeout error.
**Tests in Queue Taking Too Long to Complete:** Tests are queued for only 15 minutes. If the tests in your queue exceed the 15-minute timeline, they are removed from queue. This aborts the execution of your tests, leading to a timeout error.

* * *

Expand Down
Loading