MCPcopy Index your code
hub / github.com/webpy/webpy / submit

Method submit

web/browser.py:224–229  ·  view source on GitHub ↗

submits the currently selected form.

(self, **kw)

Source from the content-addressed store, hash-verified

222 raise BrowserError("No form selected.")
223
224 def submit(self, **kw):
225 """submits the currently selected form."""
226 if self.form is None:
227 raise BrowserError("No form selected.")
228 req = self.form.click(**kw)
229 return self.do_request(req)
230
231 def __getitem__(self, key):
232 return self.form[key]

Callers

nothing calls this directly

Calls 2

do_requestMethod · 0.95
BrowserErrorClass · 0.85

Tested by

no test coverage detected