未验证 提交 3ba8a527 编写于 作者: R Rajesh Koilpillai 提交者: GitHub

Update Page-objects.md

typos
上级 479307c7
......@@ -58,20 +58,20 @@ MobileElement someElement;
List<MobileElement> someElements;
```
# The fully cross platform examle
# The fully cross platform example
```java
import org.openqa.selenium.remote.RemoteWebElement;
import io.appium.java_client.pagefactory.*;
import org.openqa.selenium.support.FindBy;
//the fully cross platform examle
//the fully cross platform example
@FindBy(someStrategy) //for browser or web view html UI
@AndroidFindBy(someStrategy) //for Android native UI
@iOSFindBy(someStrategy) //for iOS native UI
RemoteWebElement someElement;
//the fully cross platform examle
//the fully cross platform example
@FindBy(someStrategy)
@AndroidFindBy(someStrategy) //for Android native UI
@iOSFindBy(someStrategy) //for iOS native UI
......@@ -720,4 +720,4 @@ It is strongly recommended to implement each subclass of __io.appium.java_clien
public /*or any other available modifier*/ WidgetSubclass(WebElement element) {
super(element);
}
```
\ No newline at end of file
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册