GithubHelp home page GithubHelp logo

headissue / sahi Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 11.0 65.28 MB

Sahi Open Source

License: Other

Shell 0.06% JavaScript 28.85% HTML 29.35% Tcl 0.09% CSS 0.35% Java 39.15% Ruby 2.00% Gherkin 0.02% PHP 0.10% Batchfile 0.03%

sahi's People

Contributors

globalworming avatar kevlened avatar robbi5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sahi's Issues

Security issue: unauthorized read/write

Better Steps on Playback

Playback tab should show the total number of steps. Going back a few steps should be possible.

_setValue not working on Firefox 23

_setValue on a textinput does nothing, while other APIs (like click, highlight) work as expected. _setValue does not throw an error when nothing was set.

IOException: file name too long

when using sahi on google maps pages, this appears on the console:

may be a bug in the RemoteRequestProcessor.isDownloadURL method.

29 Apr 2015 07:14:43,021 INFO  pool-1-thread-34 [net.sf.sahi.RemoteRequestProcessor] - 
-- Calling downloadFile --
https://mt0.google.com/vt/pb=!1m4!1m3!1i4!2i8!3i5!2m3!1e0!2sm!3i298103718!3m4!2sen!5e1105!12m1!1e47!4e1!5m4!1e4!8m2!1e0!1e1!6m15!1e12!16e1!19m4!1e1!2e0!4m1!1e0!20m4!1e1!2e3!3m1!1e0!28e5!44e1!1001b1
downloadURL = false
response.isAttachment() = false
fileName = pb=!1m4!1m3!1i4!2i8!3i5!2m3!1e0!2sm!3i298103718!3m4!2sen!5e1105!12m1!1e47!4e1!5m4!1e4!8m2!1e0!1e1!6m15!1e12!16e1!19m4!1e1!2e0!4m1!1e0!20m4!1e1!2e3!3m1!1e0!28e5!44e1!1001b1
contentTypeHeader = application/vnd.google.octet-stream-compressible; charset=x-user-defined
downloadContentType = true
Content-Disposition=null
contentDispositionForcesDownload = false
--
29 Apr 2015 07:14:43,021 INFO  pool-1-thread-34 [net.sf.sahi.RemoteRequestProcessor] - Downloading sahi_5494e64c0cfbb04362097620ed93ca67bb4d__pb=!1m4!1m3!1i4!2i8!3i5!2m3!1e0!2sm!3i298103718!3m4!2sen!5e1105!12m1!1e47!4e1!5m4!1e4!8m2!1e0!1e1!6m15!1e12!16e1!19m4!1e1!2e0!4m1!1e0!20m4!1e1!2e3!3m1!1e0!28e5!44e1!1001b1 to temp directory:
/home/wormi/workspace/Sahi/sahi-core/userdata/temp/download
29 Apr 2015 07:14:43,021 WARN  pool-1-thread-34 [net.sf.sahi.RemoteRequestProcessor] - Could not write to file
29 Apr 2015 07:14:43,022 WARN  pool-1-thread-34 [net.sf.sahi.RemoteRequestProcessor] - java.io.IOException: File name too long
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(File.java:1012)
        at net.sf.sahi.RemoteRequestProcessor.save(RemoteRequestProcessor.java:297)
        at net.sf.sahi.RemoteRequestProcessor.downloadFile(RemoteRequestProcessor.java:285)
        at net.sf.sahi.RemoteRequestProcessor.processHttp(RemoteRequestProcessor.java:182)
        at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:148)
        at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:98)
        at net.sf.sahi.ProxyProcessor.processConnect(ProxyProcessor.java:209)
        at net.sf.sahi.ProxyProcessor.processAsProxy(ProxyProcessor.java:141)
        at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:98)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

POST request not working on chromium 25, Ubuntu 10.4

The browser displays an error page "Request timd out" when e.g Sahi attempts to _click(_submit("button")). The click action is executed, the browsers network log shows a POST has been send but in Sahis traffic logs, there is no POST showing up.

Automaticly accept SSL certificates

Maintaining certificates on different browsers on multiple machines for a variety of websites is pretty time-consuming.
Currently you have to add certificate exceptions manually through the Sahi SSLManager.
We currently have a solution working for Linux only. For OS independency, we need OS specific ssl scripts (see http://github.com/headissue/Sahi/blob/master/sahi-core/config/ssl.txt) or some Java Library doing the job (maybe have a look at https://www.bouncycastle.org/java.html)

supporting full web page screenshots in sahi

I would like to have support for taking full web page screenshots in sahi through api where I can pass the name of image and location where I would like to save it. This will enable me to compare webpages from one version to another. I can do the same through casperjs (http://casperjs.org/) and phantomjs(http://phantomjs.org/). Casperjs provides navigation api for phantomjs. It also provides access to other api like (capture,captureSelector) to capture high quality images of the web page. Currently, I can use phantomjs as headless browser in sahi but there is no API exposed in sahi yet. I would love to have phantomjs api exposed in sahi.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.