Commit 35c8c2e
authored
refactor: remove safeMode because Broweserless got rid of it (#22)
Browserless 2.0
/pdf API
The PDF API operates in a similar fashion as the in browserless 1.xx. The biggest difference is how launch flags are handled, which now use a consolidated launch object to hold all CLI arguments and flags.
waitFor has now been removed and deprecated in favor of puppeteer's discrete API methods: waitForEvent, waitForFunction, waitForSelector and waitForTimeout.
rotate has been removed due to lack of usage and included 3rd party dependencies. safeMode has also been removed in favor of using puppeteer's streaming capabilities that are much less error-prone.1 parent 7861e0c commit 35c8c2e
1 file changed
+0
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| |||
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 40 | | |
58 | 41 | | |
59 | 42 | | |
| |||
76 | 59 | | |
77 | 60 | | |
78 | 61 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 62 | | |
90 | 63 | | |
91 | 64 | | |
| |||
151 | 124 | | |
152 | 125 | | |
153 | 126 | | |
154 | | - | |
155 | 127 | | |
156 | 128 | | |
157 | 129 | | |
| |||
0 commit comments