• 好的,谢谢你

  • 请问这句 PATH = lambda p:os.path.abspath(
    os.path.join(os.path.dirname(file),p)
    ) 是什么意思,file 指什么

  • 我替换了你网盘的 HTMLTestRunner 文件,报告中没有出现,再加上我用例,报告中没有出现 img 列,可以帮我看看我的用例嘛

  • 麻烦问一下 print 'index2' + str(index),这句是干嘛的

  • 请问我为什么会报这个错呢

  • 安装 appium for mac 卡住了 at 2017年03月04日

    好的,已发送,已回邮件

  • 安装 appium for mac 卡住了 at 2017年03月04日

    好的

  • 安装 appium for mac 卡住了 at 2017年03月04日

    加 QQ 是需要真实姓名嘛

  • 安装 appium for mac 卡住了 at 2017年03月04日

    好,回头我试试,谢谢你,方便留个 QQ 什么的嘛,测试上的问题,请教你

  • 安装 appium for mac 卡住了 at 2017年03月04日

    没有呀,想使用 appium 做真机测试,webdriveragent 启动一直报错,webpack --progress -- color 报错,你遇到过嘛

  • 安装 appium for mac 卡住了 at 2017年03月02日

    你好,请问你有使用 appium 做 iOS 真机的自动化测试嘛

  • WebDriverAgent 简介 at 2017年03月01日

    你好,我还的麻烦问一下,昨天的问题已经解决了,可是又出现了一个新的问题,运行./Scripts/bootstrap.sh 时,出现报错:

    web-driver-inspector@1.0.0 build /Users/danjiao/node_modules/.2.5.3@appium-xcuitest-driver/WebDriverAgent/Inspector
    webpack --progress --colors

    Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

    • configuration.resolve has an unknown property 'root'. These properties are valid: object { alias?, aliasFields?, cachePredicate?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }

    npm ERR! Darwin 16.3.0
    npm ERR! argv "/usr/local/Cellar/node/7.5.0/bin/node" "/usr/local/bin/npm" "run" "build"
    npm ERR! node v7.5.0
    npm ERR! npm v4.1.2
    npm ERR! code ELIFECYCLE
    npm ERR! web-driver-inspector@1.0.0 build: webpack --progress --colors
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the web-driver-inspector@1.0.0 build script 'webpack --progress --colors'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the web-driver-inspector package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR! webpack --progress --colors
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR! npm bugs web-driver-inspector
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR! npm owner ls web-driver-inspector
    npm ERR! There is likely additional logging output above.

    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/danjiao/node_modules/.2.5.3@appium-xcuitest-driver/WebDriverAgent/Inspector/npm-debug.log

    webpack.config.js 文件是这样的
    var path = require('path');

    var webpack = require('webpack');

    function buildOutputDir() {
    return (process.env.BUILD_OUTPUT_DIR != null ? process.env.BUILD_OUTPUT_DIR : __dirname);
    }

    module.exports = {

    entry: [
    "./js/app.js"
    ],
    output: {
    path: buildOutputDir(),
    filename: "inspector.js"
    },
    module: {
    loaders: [
    { test: /.js?$/, loaders: ['babel-loader']},
    { test: /.css?$/, loader: 'style-loader! css-loader' },
    ]
    },
    resolve: {
    root: path.resolve(__dirname, ''),
    },
    plugins: [
    new webpack.NoErrorsPlugin()
    ]
    };

  • WebDriverAgent 简介 at 2017年02月28日

    你好,在请教一下,我在安装中又遇到了这个问题
    96
    lynn_qin · 2 月前

    求助~我在安装的时候,最后报错:
    Fetching dependencies
    Building Inspector
    Creating bundle directory...
    Fetching Inspector dependencies...
    npm WARN react-treeview@0.4.6 requires a peer of react@>=0.14.0 but none was installed.
    npm WARN web-driver-inspector@1.0.0 No repository field.
    Building Inspector...

    web-driver-inspector@1.0.0 build /node_modules/webdriver/WebDriverAgent/Inspector
    webpack --progress --colors
    Hash: 9ed7d0b85cc08341fd0f

    Version: webpack 1.14.0
    Time: 74ms
    [0] multi main 28 bytes {0} [built] [1 error]

    • 1 hidden modules

    ERROR in ./js/app.js
    Module parse failed: /node_modules/webdriver/WebDriverAgent/Inspector/js/app.js Unexpected token (59:4)
    You may need an appropriate loader to handle this file type.
    SyntaxError: Unexpected token (59:4)
    at Parser.pp$4.raise (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:2221:15)
    at Parser.pp.unexpected (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:603:10)
    at Parser.pp$3.parseExprAtom (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1822:12)
    at Parser.pp$3.parseExprSubscripts (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1715:21)
    at Parser.pp$3.parseMaybeUnary (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1692:19)
    at Parser.pp$3.parseExprOps (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1637:21)
    at Parser.pp$3.parseMaybeConditional (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1620:21)
    at Parser.pp$3.parseMaybeAssign (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1597:21)
    at Parser.pp$3.parseParenAndDistinguishExpression (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1861:32)
    at Parser.pp$3.parseExprAtom (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1796:19)
    at Parser.pp$3.parseExprSubscripts (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1715:21)
    at Parser.pp$3.parseMaybeUnary (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1692:19)
    at Parser.pp$3.parseExprOps (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1637:21)
    at Parser.pp$3.parseMaybeConditional (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1620:21)
    at Parser.pp$3.parseMaybeAssign (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1597:21)
    at Parser.pp$3.parseExpression (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1573:21)
    at Parser.pp$1.parseReturnStatement (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:839:33)
    at Parser.pp$1.parseStatement (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:699:34)
    at Parser.pp$1.parseBlock (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:981:25)
    at Parser.pp$3.parseFunctionBody (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:2105:24)
    at Parser.pp$3.parseMethod (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:2075:10)
    at Parser.pp$1.parseClassMethod (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1137:25)
    at Parser.pp$1.parseClass (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:1118:14)
    at Parser.pp$1.parseStatement (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:697:19)
    at Parser.pp$1.parseTopLevel (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:638:25)
    at Parser.parse (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:516:17)
    at Object.parse (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/acorn/dist/acorn.js:3098:39)
    at Parser.parse (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/webpack/lib/Parser.js:902:15)
    at NormalModule. (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/webpack/lib/NormalModule.js:104:16)
    at NormalModule.onModuleBuild (/node_modules/webdriver/WebDriverAgent/Inspector/node_modules/webpack-core/lib/NormalModuleMixin.js:310:10)
    @ multi main
    Done

  • WebDriverAgent 简介 at 2017年02月28日

    你好,我在安装中遇到了和你一样的 Error in ./js/app.js 的问题,请问你是怎么解决的,谢谢

  • WebDriverAgent 简介 at 2017年02月27日

    你好,我使用 npm install -g eslint-plugin-import 命令安装之后,提示 unmet peer dependency eslint@2.x-3.x ,eslint-plugin-import requires a peer of eslint to@2.x-3.x but none was installed

  • 你好,我运行./Scripts/bootstrap .sh 命令时,遇到了同样的问题,请问有解决的办法吗

  • 安装 appium for mac 卡住了 at 2017年02月09日

    #30 楼 @Joyce306 好的,谢谢你

  • #3 楼 @yaming116 再请问一下 appcrawler 可以识别 scrollview 嘛

  • 安装 appium for mac 卡住了 at 2017年02月09日

    #28 楼 @Joyce306 是呀,互相进步

  • #1 楼 @yaming116 你好,很谢谢你的回答,我已经 cd 到 bin 目录下了 ,请问第三步的 appcrawler 命令应该怎么写呢

  • 安装 appium for mac 卡住了 at 2017年02月09日

    #26 楼 @Joyce306 嗯嗯,已经安装好了,命令已经好使了,正在尝试,谢谢这两天的帮助

  • 安装 appium for mac 卡住了 at 2017年02月09日

    #24 楼 @Joyce306 谢谢,我也解决了这个问题,不知道方法正确不,使用 npm install -g 命令安装的

  • 安装 appium for mac 卡住了 at 2017年02月08日

    #17 楼 @Joyce306 使用 npm 安装其它的也安装不上,也报 o such file or directory, open '/Users/danjiao/package.json'这个问题

  • 安装 appium for mac 卡住了 at 2017年02月08日

    #17 楼 @Joyce306 你好,我通过几次尝试已经安装好了 appium1.6.3 版本,可以 appium-doctor 的安装过程中出现了一个问题,使用 npm install appium-doctor 命令后,报错 no such file or directory, open '/Users/danjiao/package.json',请问知道怎么解决吗

  • 安装 appium for mac 卡住了 at 2017年02月07日

    #17 楼 @Joyce306 谢谢,我还没有安装成功