vinaybond's Profile

5
points

Questions
1

Answers
1

  • Asked on February 18, 2016 in No Category.
      I need help. This is my code:
      
      ${proxy}=            | Evaluate              | sys.modules['selenium.webdriver'].Proxy() | sys,selenium.webdriver | 
      ${proxy.http_proxy}= | Set Variable          | 127.0.0.1:8080   | 
      Create Webdriver     | Firefox proxy=${proxy}|    
      Go To                | http://www.knowledgefarm.in/tst/a.html   |
      
      
      And I am running BrowserMob proxy from command line like this: browsermob-proxy.bat --address 127.0.0.1 --port 8080
      
      Now, when i run robotframework, it open the browser and give this message on page.
      
      
       HTTP ERROR: 404
       
       Problem accessing /tst/a.html. Reason:
       Not Found
       Powered by Jetty:// 
      
      
      **Two questions:**
      
      1. why my pages are not loaded. (it works if I remove proxy setting)
      2. After the workaround, how do I specify to generate HAR file and how should I specify the location of HAR file
      
      
      -Vinay
      
      
      • 213 views
      • 2 answers
      • 0 votes