@@ -155,6 +155,7 @@ discard block |
||
155 | 155 | * Find element in HTML Dom |
156 | 156 | * |
157 | 157 | * @param string $content - content to be searched through |
158 | + * @param integer $nth |
|
158 | 159 | * @return object |
159 | 160 | */ |
160 | 161 | private function find($content, $selector, $nth = null) |
@@ -204,6 +205,7 @@ discard block |
||
204 | 205 | * Check whether errors have been returned |
205 | 206 | * |
206 | 207 | * @param string $content - response body of a request |
208 | + * @param string $selector |
|
207 | 209 | * @return boolean - false if an element described by the selector exists |
208 | 210 | */ |
209 | 211 | private function check($content, $selector) |
@@ -137,8 +137,8 @@ |
||
137 | 137 | '/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.token' => $this->token, |
138 | 138 | '_D:/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.token' => '', |
139 | 139 | 'enabled' => true, |
140 | - '/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.create.x' => rand(0,50), |
|
141 | - '/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.create.y' => rand(0,25), |
|
140 | + '/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.create.x' => rand(0, 50), |
|
141 | + '/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.create.y' => rand(0, 25), |
|
142 | 142 | '/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.create' => 'Wyślij', |
143 | 143 | '_D:/amg/ptk/map/messagebox/formhandlers/MessageFormHandler.create' => '', |
144 | 144 | '_DARGS' => '/gear/mapmessagebox/smsform.jsp' |