fate0 / pychrome

A Python Package for the Google Chrome Dev Protocol [threading base]
Other
612 stars 112 forks source link

Add example of how to implement a POST request #23

Closed sonirico closed 5 years ago

sonirico commented 6 years ago

By "sniffing" the normal request (Page.navigate, GET method), method, headers and postData parameters can be modified. As this is not fairly intuitive, I decided to add an example.

codecov[bot] commented 6 years ago

Codecov Report

Merging #23 into master will decrease coverage by 0.47%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   93.36%   92.89%   -0.48%     
==========================================
  Files           4        4              
  Lines         211      211              
  Branches       21       21              
==========================================
- Hits          197      196       -1     
  Misses          7        7              
- Partials        7        8       +1
Impacted Files Coverage Δ
pychrome/tab.py 90.78% <0%> (-0.66%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3265932...1f2cf36. Read the comment docs.

fate0 commented 5 years ago

thanks