Skip to content

Commit cf0d5e4

Browse files
committed
kane ai features
1 parent 57a93d8 commit cf0d5e4

File tree

5 files changed

+169
-1
lines changed

5 files changed

+169
-1
lines changed
96.2 KB
Loading
96.3 KB
Loading
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
---
2+
id: kane-ai-geolocation-tunnel-proxy
3+
title: KaneAI - Geolocation, Tunnel and Proxy Support
4+
hide_title: false
5+
sidebar_label: Geolocation, Tunnel, and Proxy
6+
description: Learn how to run your web tests on KaneAI using geolocation, tunnel, and dedicated proxy configurations.
7+
keywords:
8+
- lambdatest automation
9+
- lambdatest kaneai
10+
- kaneai geolocation support
11+
- kaneai tunnel support
12+
- kaneai proxy support
13+
url: https://www.lambdatest.com/support/docs/kane-ai-geolocation-tunnel-proxy/
14+
site_name: LambdaTest
15+
slug: kane-ai-geolocation-tunnel-proxy/
16+
---
17+
18+
import Tabs from '@theme/Tabs';
19+
import TabItem from '@theme/TabItem';
20+
import CodeBlock from '@theme/CodeBlock';
21+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
22+
23+
<script type="application/ld+json"
24+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
25+
"@context": "https://schema.org",
26+
"@type": "BreadcrumbList",
27+
"itemListElement": [{
28+
"@type": "ListItem",
29+
"position": 1,
30+
"name": "Home",
31+
"item": "https://www.lambdatest.com"
32+
},{
33+
"@type": "ListItem",
34+
"position": 2,
35+
"name": "Support",
36+
"item": "https://www.lambdatest.com/support/docs/"
37+
},{
38+
"@type": "ListItem",
39+
"position": 3,
40+
"name": "KaneAI Geolocation, Tunnel, and Proxy Support",
41+
"item": "https://www.lambdatest.com/support/docs/kane-ai-geolocation-tunnel-proxy/"
42+
}]
43+
})
44+
}}
45+
></script>
46+
47+
Now you can start your web tests on Kane AI using advanced configurations like geolocation, tunnel, and dedicated proxy support.
48+
49+
## Geolocation Support
50+
51+
With KaneAI's geolocation feature, you can simulate user interactions from different regions to ensure your website works as expected worldwide.
52+
53+
### Steps to Use Geolocation
54+
55+
**Step 1 :** Select the **Geolocation** option from the **Advanced Settings** and choose your desired region.
56+
57+
**Step 2 :** Run your web test on KaneAI with traffic proxied through the selected region.
58+
59+
**Step 3 :** Once the test is saved, the generated code will include geolocation details automatically, making it easier to
60+
replicate the test across different regions.
61+
62+
<img loading="lazy" src={require('../assets/images/kane-ai/geolocation.png').default} alt="Image" width="1200" height="550" className="doc_img"/>
63+
64+
## Tunnel Support
65+
66+
KaneAI also supports tunneling to allow you to test websites hosted locally or behind a firewall.
67+
68+
### Steps to Use Tunnel
69+
70+
**Step 1 :** Configure the tunnel using the UnderPass application with `--mitm` and `--env ht-prod` mode enabled. Example command:
71+
72+
<div className="lambdatest__codeblock">
73+
<CodeBlock className="language-bash">
74+
{`./LT --user ${YOUR_LAMBDATEST_USERNAME()} --key ${YOUR_LAMBDATEST_ACCESS_KEY()} --env ht-prod -v -n TUNNEL_NAME --mitm`}
75+
</CodeBlock>
76+
</div>
77+
78+
**Step 2 :** Select the tunnel from the **Advanced Settings** on KaneAI and choose the tunnel that you have spun up.
79+
80+
**Step 3 :** Run your web test on KaneAI from a locally hosted webpage.
81+
82+
**Step 4 :** Once the test is saved, the generated code will include tunnel details automatically for easy replication.
83+
84+
## Dedicated Proxy Support (Enterprise only)
85+
86+
KaneAI offers support for dedicated proxy usage, exclusively available for enterprise accounts with dedicated proxy enabled.
87+
88+
### Steps to Use Dedicated Proxy
89+
90+
**Step 1 :** Select the **Dedicated Proxy** option from the **Advanced Settings** and choose the region.
91+
92+
**Step 2 :** Run your web test on KaneAI with traffic routed through the dedicated proxy IP configured for your organization.
93+
94+
**Step 3 :** Once the test is saved, the generated code will include proxy details automatically, allowing seamless future executions.
95+
96+
<img loading="lazy" src={require('../assets/images/kane-ai/dedicated-proxy.png').default} alt="Image" width="1200" height="550" className="doc_img"/>

docs/kane-ai-scroll-in-feature.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
id: kane-ai-scroll-in-feature
3+
title: KaneAI - Scroll in Element
4+
hide_title: false
5+
sidebar_label: Scroll in Element
6+
description: Learn how to run scroll commands during your web testing.
7+
keywords:
8+
- lambdatest automation
9+
- lambdatest kaneai
10+
- kaneai scroll elements
11+
- kaneai sidebar scroll
12+
url: https://www.lambdatest.com/support/docs/kane-ai-scroll-in-feature/
13+
site_name: LambdaTest
14+
slug: kane-ai-scroll-in-feature/
15+
---
16+
17+
import Tabs from '@theme/Tabs';
18+
import TabItem from '@theme/TabItem';
19+
import CodeBlock from '@theme/CodeBlock';
20+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
21+
22+
<script type="application/ld+json"
23+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
24+
"@context": "https://schema.org",
25+
"@type": "BreadcrumbList",
26+
"itemListElement": [{
27+
"@type": "ListItem",
28+
"position": 1,
29+
"name": "Home",
30+
"item": "https://www.lambdatest.com"
31+
},{
32+
"@type": "ListItem",
33+
"position": 2,
34+
"name": "Support",
35+
"item": "https://www.lambdatest.com/support/docs/"
36+
},{
37+
"@type": "ListItem",
38+
"position": 3,
39+
"name": "KaneAI Scroll In Elements",
40+
"item": "https://www.lambdatest.com/support/docs/kane-ai-scroll-in-feature/"
41+
}]
42+
})
43+
}}
44+
></script>
45+
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.
46+
47+
## Supported Commands
48+
You can pass the following commands in English to scroll within the web test:
49+
50+
- **"Scroll left" :** Moves the content horizontally to the left.
51+
- **"Scroll right" :** Moves the content horizontally to the right.
52+
- **"Scroll up" :** Moves the content vertically upwards.
53+
- **"Scroll down" :** Moves the content vertically downwards.
54+
55+
## Example Use Cases
56+
57+
- **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.
58+
- **Navigate Lists:** Use scrolling commands to move through long lists or dropdown menus.
59+
- **Access Off-screen Content:** When elements are outside the viewport, scrolling commands help bring them into view.
60+
61+
## How to Use
62+
63+
**Step 1:** Identify the element you want to scroll.
64+
65+
**Step 2:** Use the appropriate command based on the direction you need to scroll. For example:
66+
67+
- "Scroll right in the sidebar" to move right in a horizontal sidebar.
68+
- "Scroll down" if you want to scroll downwards on a long page.
69+
70+
**Step 3:** Verify the content is in view after the scrolling action.

sidebars.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,9 @@ module.exports = {
10281028
label: "Knowledge Base",
10291029
items: [
10301030
"kane-ai-command-guide",
1031-
"kane-ai-javascript-execution"
1031+
"kane-ai-javascript-execution",
1032+
"kane-ai-geolocation-tunnel-proxy",
1033+
"kane-ai-scroll-in-feature"
10321034
],
10331035
},
10341036
{

0 commit comments

Comments
 (0)