CrossBrowserTesting Support

Support

  • Product
    • Live Testing
    • Automated Testing
    • Record & Replay
    • Visual Testing
  • API Docs
  • Blog
  • Live Q&A
  • Start Testing
CrossBrowserTesting Support » Screenshots » General » Run A Screenshot With A Git Commit or Push

Run A Screenshot With A Git Commit or Push

We have added a new feature for all of you github.com users. You can now run a screenshot using a Github Webhook.  Github Webhooks are POWERFUL and now in combination with CrossBrowserTesting.com you have the ability to run a Screenshot Test for your awesome website on every push to GitHub.

1. From your repository “Settings” page, select “Webhooks and services”.
2. Select “Add Webhook”
3. Set the “Payload URL” to “http://crossbrowsertesting.com/api/v3/screenshots/”
4. Set the “Content type” to “application/json”
5. Select which event that you want to trigger the Screenshot Webhook.
6. Set it to Active.
7. Finally, select “Add Webhook”.


Our Screenshots API accepts the parameters for Github Webhooks as query parameters.

For example:

curl --user USERNAME:AUTHKEY --data "browser_list_name=THELIST&url=http://website.com&send_email=true&email_list=user1@email.com,user2@email.com" https://crossbrowsertesting.com/api/v3/screenshots/


NOTE

Some characters may need to be URL encoded (ie. @=%40)

In addition to the Screenshots Github Webhook, we have also added “send_email” and “email_list” options.
The “send_email” option will send you an email once the Screenshot Test is finished.
You can provide an “email_list” to notify other people, otherwise the email will send to the account holder’s email address.

Related

All Topics

  • Billing and Plans
  • Frequently Asked Questions
  • Integrations
  • Live Testing
  • Local Connection
  • Screenshots
  • Selenium Testing
  • Teams and Admins
  • Team Guides



Think you need a human?

Our customer success team will be glad to help you with your question.

Contact Support

Still need a free trial?

Try CrossBrowserTesting free for 7 days and see how we make testing easier.

Start Today

Want the latest tips?

Enter your email and we’ll send you tutorials and browser testing strategies right to your inbox.


Product

  • Live Testing
  • Automated Testing
  • Visual Testing
  • Local Testing
  • Integrations

Resources

  • Browsers & Devices
  • Blog
  • Webinars
  • Security
  • ROI Calculator

Support

  • Help Center
  • CBT Community
  • API Docs
  • Automation Docs
  • Schedule A Demo
  • Enterprise Request

Company

    • About Us
    • Contact Us
    • Careers
    • Terms of Use
    • 1-888-927-6973

© 2019 CrossBrowserTesting.com, LLC. All rights reserved.