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 added assets/images/kane-ai/dedicated-proxy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/kane-ai/geolocation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 96 additions & 0 deletions docs/kane-ai-geolocation-tunnel-proxy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
---
id: kane-ai-geolocation-tunnel-proxy
title: KaneAI - Geolocation, Tunnel and Proxy Support
hide_title: false
sidebar_label: Geolocation, Tunnel, and Proxy
description: Learn how to run your web tests on KaneAI using geolocation, tunnel, and dedicated proxy configurations.
keywords:
- lambdatest automation
- lambdatest kaneai
- kaneai geolocation support
- kaneai tunnel support
- kaneai proxy support
url: https://www.lambdatest.com/support/docs/kane-ai-geolocation-tunnel-proxy/
site_name: LambdaTest
slug: kane-ai-geolocation-tunnel-proxy/
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";

<script type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://www.lambdatest.com"
},{
"@type": "ListItem",
"position": 2,
"name": "Support",
"item": "https://www.lambdatest.com/support/docs/"
},{
"@type": "ListItem",
"position": 3,
"name": "KaneAI Geolocation, Tunnel, and Proxy Support",
"item": "https://www.lambdatest.com/support/docs/kane-ai-geolocation-tunnel-proxy/"
}]
})
}}
></script>

Now you can start your web tests on Kane AI using advanced configurations like geolocation, tunnel, and dedicated proxy support.

## Geolocation Support

With KaneAI's geolocation feature, you can simulate user interactions from different regions to ensure your website works as expected worldwide.

### Steps to Use Geolocation

**Step 1 :** Select the **Geolocation** option from the **Advanced Settings** and choose your desired region.

**Step 2 :** Run your web test on KaneAI with traffic proxied through the selected region.

**Step 3 :** Once the test is saved, the generated code will include geolocation details automatically, making it easier to
replicate the test across different regions.

<img loading="lazy" src={require('../assets/images/kane-ai/geolocation.png').default} alt="Image" width="1200" height="550" className="doc_img"/>

## Tunnel Support

KaneAI also supports tunneling to allow you to test websites hosted locally or behind a firewall.

### Steps to Use Tunnel

**Step 1 :** Configure the tunnel using the UnderPass application with `--mitm` and `--env ht-prod` mode enabled. Example command:

<div className="lambdatest__codeblock">
<CodeBlock className="language-bash">
{`./LT --user ${YOUR_LAMBDATEST_USERNAME()} --key ${YOUR_LAMBDATEST_ACCESS_KEY()} --env ht-prod -v -n TUNNEL_NAME --mitm`}
</CodeBlock>
</div>

**Step 2 :** Select the tunnel from the **Advanced Settings** on KaneAI and choose the tunnel that you have spun up.

**Step 3 :** Run your web test on KaneAI from a locally hosted webpage.

**Step 4 :** Once the test is saved, the generated code will include tunnel details automatically for easy replication.

## Dedicated Proxy Support (Enterprise only)

KaneAI offers support for dedicated proxy usage, exclusively available for enterprise accounts with dedicated proxy enabled.

### Steps to Use Dedicated Proxy

**Step 1 :** Select the **Dedicated Proxy** option from the **Advanced Settings** and choose the region.

**Step 2 :** Run your web test on KaneAI with traffic routed through the dedicated proxy IP configured for your organization.

**Step 3 :** Once the test is saved, the generated code will include proxy details automatically, allowing seamless future executions.

<img loading="lazy" src={require('../assets/images/kane-ai/dedicated-proxy.png').default} alt="Image" width="1200" height="550" className="doc_img"/>
70 changes: 70 additions & 0 deletions docs/kane-ai-scroll-in-feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
id: kane-ai-scroll-in-feature
title: KaneAI - Scroll in Element
hide_title: false
sidebar_label: Scroll in Element
description: Learn how to run scroll commands during your web testing.
keywords:
- lambdatest automation
- lambdatest kaneai
- kaneai scroll elements
- kaneai sidebar scroll
url: https://www.lambdatest.com/support/docs/kane-ai-scroll-in-feature/
site_name: LambdaTest
slug: kane-ai-scroll-in-feature/
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";

<script type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://www.lambdatest.com"
},{
"@type": "ListItem",
"position": 2,
"name": "Support",
"item": "https://www.lambdatest.com/support/docs/"
},{
"@type": "ListItem",
"position": 3,
"name": "KaneAI Scroll In Elements",
"item": "https://www.lambdatest.com/support/docs/kane-ai-scroll-in-feature/"
}]
})
}}
></script>
The "Scroll in Element" feature in Kane AI allows users to perform scrolling actions on web elements during testing by using natural language commands. With this feature, you can easily navigate through elements like sidebars, lists, or any scrollable content on a web page.

## Supported Commands
You can pass the following commands in English to scroll within the web test:

- **"Scroll left" :** Moves the content horizontally to the left.
- **"Scroll right" :** Moves the content horizontally to the right.
- **"Scroll up" :** Moves the content vertically upwards.
- **"Scroll down" :** Moves the content vertically downwards.

## Example Use Cases

- **Scroll a Sidebar:** If a web page has a left or right sidebar, you can command Kane AI to scroll within the sidebar to access hidden elements.
- **Navigate Lists:** Use scrolling commands to move through long lists or dropdown menus.
- **Access Off-screen Content:** When elements are outside the viewport, scrolling commands help bring them into view.

## How to Use

**Step 1:** Identify the element you want to scroll.

**Step 2:** Use the appropriate command based on the direction you need to scroll. For example:

- "Scroll right in the sidebar" to move right in a horizontal sidebar.
- "Scroll down" if you want to scroll downwards on a long page.

**Step 3:** Verify the content is in view after the scrolling action.
4 changes: 3 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,9 @@ module.exports = {
label: "Knowledge Base",
items: [
"kane-ai-command-guide",
"kane-ai-javascript-execution"
"kane-ai-javascript-execution",
"kane-ai-geolocation-tunnel-proxy",
"kane-ai-scroll-in-feature"
],
},
{
Expand Down
Loading