• Getting Started
  • Browser Configuration
  • Proxy Setting
  • Advanced Setting
  • Video Tutorial
  • FAQ
  • API

Send text to web page

A brief description
  • If the parameter value has special symbols, it is recommended to use base64 encoding for transmission to prevent GET transmission failure.
request URL
  • http://127.0.0.1:35000/api/v1/profile/sendKeys
request method
  • GET
parameter
Parameter RequiredTypeDescription
profileIdYesstringBrowser Profile ID
valueYesstringSend a string ( Enter Escape Tab vkLeft vkUp vkRight vkDown vkDelete vkEnd vkHome vkBack) to this web control
elementIdnostringelementId obtained after finding the element by findElement
Request example
http://127.0.0.1:35000/api/v1/profile/sendKeys?profileId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&elementId=49e49e71-2a55-4e79-a41b-86840ffd18c8&value=5Lit5paHYWJjMTIz
Remark
  • Parameter elementId acquisition example: First, you can use findElementByID to find the elementId, for example:

http://127.0.0.1:35000/api/v1/profile/findElement?profileId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&function=findElementByID&args=kw&click=false&index=-1

You can also use findElementByXPath to find the elementId, for example:

http://127.0.0.1:35000/api/v1/profile/findElement?profileId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&function=findElementByXPath&args=Ly8qW0BpZD0ia3ciXQ==&click=false&index=-1

The above args parameter is transmitted using base64 encoding, after decoding it is: //*[@id=”kw”]

The above GET request will return:

{“status”:”OK”,”value”:”{\”element-6066-11e4-a52e-4f735466cecf\”:\”49e49e71-2a55-4e79-a41b-86840ffd18c8\”}”}

In which, 49e49e71-2a55-4e79-a41b-86840ffd18c8 is the elementId to be used.

get free trial

We Offer 3-Day Free Trial for All New Users

No Limitations in Features

By clicking "accept", you agree to use Cookies to optimize the information presented to you, and analyze the traffic of our website.
If you want to opt out of our cookies, please read our Cookie Policy for your guidance.