Blame view

src/main/java/com/essa/pageObject/LogisticShipp/LargeDcofdPage.java 694 Bytes
d688c3f8   hanlei   船务
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  package com.essa.pageObject.LogisticShipp;
  
  import com.essa.framework.BasePage;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.WebElement;
  import org.openqa.selenium.support.FindBy;
  
  //大跟单确认备选船期待办界面
  public class LargeDcofdPage extends BasePage {
      public LargeDcofdPage (WebDriver driver) {
          super(driver);
      }
  
      // 确认登记备选船期
      @FindBy(xpath = "//*[@id='tableViewList']/div/div/div/div[4]/span[1]/button[2]")
      WebElement ConfirmationShipDate;
  
      public LargeDcofdPage toLargeDcofdPage(){
          mywait(ConfirmationShipDate);
          click(ConfirmationShipDate);
          return new LargeDcofdPage(driver);
      }
  }