spiderling | Browse html pages with php , selenium and phantomjs | Frontend Framework library

 by   OpenBuildings PHP Version: 0.4.0 License: BSD-3-Clause

kandi X-RAY | spiderling Summary

kandi X-RAY | spiderling Summary

spiderling is a PHP library typically used in User Interface, Frontend Framework, jQuery, PhantomJS applications. spiderling has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This is a library for crawling web pages with curl and PhantomJS. Heavily inspired by Capybara. It's a major component in phpunit-spiderling for integration level testing. It can handle AJAX requests easily and allows switching from fast PHP-only drivers to JavaScript-enabled like PhantomJS easily, without modifying the code.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              spiderling has a low active ecosystem.
              It has 59 star(s) with 17 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 13 open issues and 10 have been closed. On average issues are closed in 116 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of spiderling is 0.4.0

            kandi-Quality Quality

              spiderling has no bugs reported.

            kandi-Security Security

              spiderling has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              spiderling is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              spiderling releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of spiderling
            Get all kandi verified functions for this library.

            spiderling Key Features

            No Key Features are available at this moment for spiderling.

            spiderling Examples and Code Snippets

            Actions
            PHPdot img1Lines of Code : 88dot img1License : Permissive (BSD-3-Clause)
            copy iconCopy
            use Openbuildings\Spiderling\Page;
            
            $page = new Page();
            
            $page->visit('http://example.com/the-form');
            
            $page
              ->fill_in('Name', 'New Name')
              ->fill_in('Description', 'some description')
              ->click_button('Submit');
            
            // This will return t  
            Setters
            PHPdot img2Lines of Code : 37dot img2License : Permissive (BSD-3-Clause)
            copy iconCopy
            
              
                
                  
                    Name:
                    
                  
                  
                    Description:
                    
                      Some text
                    
                  
                  
                
              
            
            
            use Openbuildings\Spiderling\Page;
            
            $page = new Page();
            
            $page->visit('http://example.com/the-form');
            
            $page
                
            Locators
            PHPdot img3Lines of Code : 37dot img3License : Permissive (BSD-3-Clause)
            copy iconCopy
            
              
                
                  
                    Name:
                    
                  
                  
                    Description:
                    
                      Some text
                    
                  
                  
                
              
            
            
            use Openbuildings\Spiderling\Page;
            
            $page = new Page();
            
            $page->visit('http://example.com/the-form');
            
            $page
                

            Community Discussions

            Trending Discussions on spiderling

            QUESTION

            Crawl a website with iframe
            Asked 2018-Jan-27 at 07:55

            I have a test project using a library supporting crawl(openbuilding spiderling). The problem is when i crawl on url "https://examlple.com". This page content a iframe from "https://iframe.com".

            I want to get the element p(s) inside the iframe. But i now only can get those elements by visit iframe.com. I want to know that is there anyway to get element p even when i don't visit iframe.com, such as wait for ifame loaded. Thank you!

            ...

            ANSWER

            Answered 2018-Jan-27 at 07:55

            No, you cannot spider an iframe's contents from the parent page. The closest you can do is note the URL of the iframe and then go off and independently spider it.

            Think of an iframe as a sandboxed and protective container that only lets you visually view its contents and nothing more - no spidering or talking to it (unless you own the page and are working with JavaScript Window.postMessage() etc.

            Source https://stackoverflow.com/questions/48472044

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install spiderling

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link