Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update BrowserStackSample.java#27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
8ll wants to merge1 commit intobrowserstack:master
base:master
Choose a base branch
Loading
from8ll:patch-1

Conversation

@8ll
Copy link

@8ll8ll commentedJan 30, 2023
edited
Loading

package ios;
import java.net.URL;
import java.util.List;
import java.net.MalformedURLException;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.support.ui.ExpectedConditions;
import io.appium.java_client.MobileBy;
import io.appium.java_client.ios.IOSDriver;
import io.appium.java_client.ios.IOSElement;
public class BrowserStackSample {
public static void main(String[] args) throws MalformedURLException, InterruptedException {
DesiredCapabilities caps = new DesiredCapabilities();

// Set your access credentialscaps.setCapability("browserstack.user", "abdullazizxs_M0W5GX");caps.setCapability("browserstack.key", "zS2Tit6YTbuhoCGgbB21");// Set URL of the application under testcaps.setCapability("app", "bs://ff266c82636fc47ee3a615747bc9a7b63857a03d");// Specify device and os_version for testing    caps.setCapability("device", "iPhone XS");    caps.setCapability("os_version", "12");    // Set other BrowserStack capabilitiescaps.setCapability("project", "First Java Project");caps.setCapability("build", "browserstack-build-1");caps.setCapability("name", "first_test");// Initialise the remote Webdriver using BrowserStack remote URL// and desired capabilities defined above    IOSDriver<IOSElement> driver = new IOSDriver<IOSElement>(    new URL("http://hub-cloud.browserstack.com/wd/hub"), caps);         // Write your test case statements here        // Invoke driver.quit() after the test is done to indicate that the test is completed.    driver.quit();}

}
ghosta.dev.YAML.txt

@8ll
Copy link
Author

8ll commentedJan 30, 2023

@8ll

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@8ll

[8]ページ先頭

©2009-2025 Movatter.jp