def type_request_body(self, request_body, index): BasePage.type_text(self, request_body, By.CSS_SELECTOR, self.request_body.format(index)) self.verify_request_body(request_body, index) return HttpTest