xg
All checks were successful
/ build-image (push) Successful in 1m0s

This commit is contained in:
mmm8955405 2024-09-23 19:43:30 +08:00
parent d362abf423
commit 76d38bee7f
2 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,8 @@ public class Hgt8Component {
this.playwright.selectors().setTestIdAttribute("id"); this.playwright.selectors().setTestIdAttribute("id");
this.browser = playwright.chromium().launch( this.browser = playwright.chromium().launch(
new BrowserType.LaunchOptions() // new BrowserType.LaunchOptions()
.setHeadless(false) // .setHeadless(false)
); );
this.browserContext = browser.newContext(); this.browserContext = browser.newContext();

View File

@ -38,7 +38,7 @@ public class Hgt8Controller {
// hgt8Component.page.locator("xpath=//iframe[@id=lineCode]").fill("bk7897"); // hgt8Component.page.locator("xpath=//iframe[@id=lineCode]").fill("bk7897");
// hgt8Component.page.getByTestId("lineCode").fill("bk7897"); // hgt8Component.page.getByTestId("lineCode").fill("bk7897");
hgt8Component.page.navigate("https://sol8.idc9998.com"); hgt8Component.page.navigate("https://bmq2.idc9998.com/search.aspx");
hgt8Component.page.frameLocator("#ifr_main") hgt8Component.page.frameLocator("#ifr_main")
.getByTestId("lineCode") .getByTestId("lineCode")
.fill("339hp"); .fill("339hp");