1 Star 2 Fork 2

PasseRR / axure-automic-driver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

axure-automic-driver

基于WindowsApplicationDriver及Axure 9开发, 其他Axure版本请参考调整代码

  1. 开启windows开发者模式

  2. 安装WindowsApplicationDriver,并在安装目录启动驱动

    # 仅指定端口
    .\WinAppDriver.exe 4727
    # 指定端口及ip 默认是localhost 远程服务需要以管理员身份运行
    .\WinAppDriver.exe 192.168.5.2 4723
  3. 使用java命令执行文件转换

    命令参数介绍

    参数名 描述 默认值
    axure axure应用地址 C:\Program Files (x86)\Axure\Axure RP 9\AxureRP9.exe
    browser 默认浏览器应用地址 C:\Program Files\Google\Chrome\Application\chrome.exe
    driverUrl winAppDriver驱动地址 http://localhost:4723
    workspace axure工作空间 无,必须在程序执行时指定
    rpFileName rp文件名 无,必须在程序执行时指定

    浏览器建议使用Chrome,否则需要修改浏览器关闭方式

    使用方式

    # 根据情况指定参数
    java "-Dfile.encoding=utf8" "-Dworkspace=${pwd}" "-DrpFileName=${AXURE_FILE_NAME}" -jar C:\axure-automation.jar

空文件

简介

java结合WindowsAppDriver实现将axure rp文件转为html,配合命令行实现ci/cd 展开 收起
Java
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/PasseRR/axure-automic-driver.git
git@gitee.com:PasseRR/axure-automic-driver.git
PasseRR
axure-automic-driver
axure-automic-driver
master

搜索帮助