Skip to content

[Documentation] Update the documentation to reflect latest changes #1955

Description

@andreion1ca
  1. description of Show Native Popup option to include WebGL platform too in https://staging-alttesterdotcom-staging.kinsta.cloud/docs/sdk/latest/pages/alttester-editor.html to reflect the newly added build settings
  2. description of Don't show this again option from native popup in https://staging-alttesterdotcom-staging.kinsta.cloud/docs/sdk/latest/pages/alttester-with-appium.html
  3. cod snippets for SetConnectionData to include checking the Don't show this again https://staging-alttesterdotcom-staging.kinsta.cloud/docs/sdk/latest/pages/alttester-with-appium.html
    e.g.
  if (checkDontShowAgain)
            {       var dontShowAgain = driver.FindElement(by("AltTesterDontShowAgainCheckbox"));
                    if (!dontShowAgain.Selected)
                        dontShowAgain.Click();
                }
  1. On https://staging-alttesterdotcom-staging.kinsta.cloud/docs/sdk/latest/pages/alttester-with-appium.html

Selenium section:

❌ Java: AltDriver(String, int) needs (host, port). In documentation is mentioned appName instead of host

// documentation 
altDriver = new AltDriver(appName, Integer.parseInt(altServerPort));

❌ Python - same as above

  # Initialize AltDriver
        cls.altdriver = AltDriver(app_name=app_name, port=int(altserver_port))

❌ Robot:
Initialize Altdriver host="127.0.0.1" port=13005 app_name="my_app"
The above passes the literal string "127.0.0.1" (including the quote characters) to the Python keyword.

Other issues for all code snippets that are worth changing for consistency:

  Documentation Implementation
Port "13005" hardcoded "13000" (default AltTester)
checkDontShowAgain not mentioned would be nice to have
appName = "my_app" custom value "default" (default SDK)

⚠️ not related to Selenium, but while we are editing this page: "hopefully can get you started" sounds informal and under-confident for a technical documentation. Replace with something direct, like: "This project demonstrates a working setup and includes the necessary dependencies."

Metadata

Metadata

Assignees

Labels

2.3.1documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions