Commit dac0d069 authored by youxiaoji's avatar youxiaoji

+ [园区选择支持模糊名称]

parent 325d1649
...@@ -201,7 +201,7 @@ public class VisitorAppointmentTool { ...@@ -201,7 +201,7 @@ public class VisitorAppointmentTool {
Locator.WaitForOptions waitUntilOptions = new Locator.WaitForOptions(); Locator.WaitForOptions waitUntilOptions = new Locator.WaitForOptions();
waitUntilOptions.setState(WaitForSelectorState.ATTACHED); waitUntilOptions.setState(WaitForSelectorState.ATTACHED);
page.locator(".van-overlay").waitFor(waitUntilOptions); page.locator(".van-overlay").waitFor(waitUntilOptions);
page.getByText(parkValue, new Page.GetByTextOptions().setExact(true)).click(); page.getByText(parkValue, new Page.GetByTextOptions().setExact(false)).click();
page.getByText("确认", new Page.GetByTextOptions().setExact(true)).click(); page.getByText("确认", new Page.GetByTextOptions().setExact(true)).click();
page.locator(".van-overlay").waitFor(new Locator.WaitForOptions().setState(WaitForSelectorState.HIDDEN)); page.locator(".van-overlay").waitFor(new Locator.WaitForOptions().setState(WaitForSelectorState.HIDDEN));
for(JSONObject tmp:dateJson){ for(JSONObject tmp:dateJson){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment