H5 link:
http://m.cmall.com/m3d/app.html?source=1&abbr=CN&clientType=android&goodsId=1893&userId=2199587
@FindBy(xpath = "//*[@id='canvas_3d']");
private WebElement m_3dModel_h5;
……
switchToWebView();
System.out.println(driver.getPageSource());
m_3dModel_h5.click();
response:
org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.xpath: //*[@id='canvas_3d']
and pageSource did not show any like "canvas",but i it shows in chrome .
is there problem in my code or is appium supporting "canvas",it already trouble me a lot ,thks.