Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Steps definitions related with the editpdf. More...
Public Member Functions | |
getSession ($name=null) | |
Returns the Mink session. | |
ghostscript_is_installed () | |
Checks that Ghostscript is installed. | |
i_draw_on_the_pdf () | |
Draw on the pdf. | |
i_wait_for_all_editpdf_pages_to_load () | |
I wait for all pages in the PDF document to be converted to images and loaded. | |
Public Attributes | |
const | PAGE_READY_JS |
The JS code to check that the page is ready. | |
Steps definitions related with the editpdf.
|
inherited |
Returns the Mink session.
string | null | $name | name of the session OR active session will be used |
Behat\Mink\Session |
Implemented in behat_form_field.
behat_assignfeedback_editpdf::ghostscript_is_installed | ( | ) |
Checks that Ghostscript is installed.
@Given /^ghostscript is installed$/
behat_assignfeedback_editpdf::i_draw_on_the_pdf | ( | ) |
Draw on the pdf.
@When /^I draw on the pdf$/
behat_assignfeedback_editpdf::i_wait_for_all_editpdf_pages_to_load | ( | ) |
I wait for all pages in the PDF document to be converted to images and loaded.
@Given /^I wait for the complete PDF to load$/
|
inherited |
The JS code to check that the page is ready.
The document must be complete and either M.util.pending_js must be empty, or it must not be defined at all.