51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

查看: 2652|回复: 2
打印 上一主题 下一主题

[求助] 使用selenium的AndroidDriver进行自动化测试,提示错误“The type org.openqa.sele...

[复制链接]
  • TA的每日心情
    擦汗
    2 小时前
  • 签到天数: 418 天

    连续签到: 1 天

    [LV.9]测试副司令

    跳转到指定楼层
    1#
    发表于 2018-10-11 11:40:55 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
    1测试积点
    使用selenium的AndroidDriver进行自动化测试,提示错误“The type org.openqa.selenium.html5.Browse”
    1. package cxl.selenium.anroid.sixth;

    2. import org.openqa.selenium.WebDriver;
    3. import org.openqa.selenium.android.AndroidDriver;


    4. import junit.framework.TestCase;

    5. public class TestBaidu extends TestCase {

    6.         public void testBaidu(){
    7.                 WebDriver driver = new AndroidDriver("http://localhost:8888/wd/hub");
    8.                 driver.get("http://www.baidu.com");
    9.         }
    10. }
    复制代码
    提示错误,求教



    附件: 您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-5-23 11:36 , Processed in 0.064629 second(s), 23 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表