-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMousehoverkoarkopage.java
28 lines (23 loc) · 1.19 KB
/
Mousehoverkoarkopage.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
public class Mousehoverkoarkopage {
private WebDriver driver;
private String remita="//a[@href=\"/remit\"]";
private String giftsa="//a[@href=\"/gifts\"]";
private String rashifal="//a[@href=\"/rashifal\"]";
private String frame="//*[@id=\"content\"]/iframe";
private String drag="//div[@id=\"draggable\"]";
private String drop="//div[@id=\"droppable\"]";
private String resize="//*[@id=\"resizable\"]/div[3]";
public Mousehoverkoarkopage(WebDriver driver){
this.driver=driver;
}
public WebElement getresize(){ return driver.findElement(By.xpath(resize));}
// public WebElement getremita(){ return driver.findElement(By.xpath(remita));}
// public WebElement getgiftsa(){ return driver.findElement(By.xpath(giftsa));}
// public WebElement getrashifal(){ return driver.findElement(By.xpath(rashifal));}
public WebElement getframe(){ return driver.findElement(By.xpath(frame));}
// public WebElement getdrag(){ return driver.findElement(By.xpath(drag));}
// public WebElement getdrop(){ return driver.findElement(By.xpath(drop));}
}