${options}=    Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()   sys, selenium.webdriver
${options.add_argument}= Set Variable user-agent="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 System/ComputerId"
Create WebDriver Chrome chrome_options=${options}
Go To http://www.useragentstring.com
${options}=    Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()    sys, selenium.webdriver
Call Method ${options} add_argument --user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 System/ComputerId
Create WebDriver Chrome chrome_options=${options}
Go To http://www.useragentstring.com

最新文章

  1. ABAP单元测试最佳实践
  2. November 1st 2016 Week 45th Tuesday
  3. 打开office word excel弹出visual studio 2008
  4. fedora配置网络
  5. <<人性的弱点>>读书笔记
  6. JVM是如何分配和回收内存?有实例!
  7. wx.html2.WebView在 target="_blank" or rel="external" 没有反映的解决方法
  8. struts不同session范围添加、访问属性
  9. 浅思OC的语言特性
  10. art template前端模板引擎
  11. jquery mobile 复选框和单选框
  12. _00023 Kafka 奇怪的操作_001它们的定义Encoder达到Class数据传输水平和决心
  13. linux内核笔记-内核同步
  14. JVM内存划分
  15. 使用百度ueditor的插件使得代码高亮显示
  16. 泊爷带你学go -- redis连接池的操作
  17. Windows Server 2012 NTP时间同步
  18. CTex+WinEdt10.2安装详细教程与破解
  19. 总结几种清除浏览器的缓存,适用于明明已经修改bug,但是测试人员说问题还存在的情况下
  20. c语言struct和c++struct的区别

热门文章

  1. CodeForces - 586D Phillip and Trains
  2. 【BZOJ4736】温暖会指引我们前行(LCT)
  3. Palindrome Partitioning (回文子串题)
  4. 某考试 T2 yja
  5. Maven查看依赖树
  6. 解决WIN7下VMWARE虚拟机无法上网问题
  7. 常见machine learning模型实现
  8. 【APUE】进程间通信之管道
  9. POJ2752 Seek the Name, Seek the Fame 【KMP】
  10. iOS开发--URL中汉字出现乱码