public function startCreatingContent(string $contentType): ContentUpdateItemPage
    {
        $this->rightMenu->clickButton('Create');

        $contentTypePicker = ElementFactory::createElement($this->context, ContentTypePicker::ELEMENT_NAME);
        $contentTypePicker->select($contentType);

        $contentUpdatePage = PageObjectFactory::createPage($this->context, ContentUpdateItemPage::PAGE_NAME, $contentType);
        $contentUpdatePage->verifyIsLoaded();

        return $contentUpdatePage;
    }
public function startCreatingContent(string $contentType): ContentUpdateItemPage
    {
        $this->rightMenu->clickButton('Create');

        $contentTypePicker = ElementFactory::createElement($this->context, ContentTypePicker::ELEMENT_NAME);
        $contentTypePicker->select($contentType);

        $contentUpdatePage = PageObjectFactory::createPage($this->context, ContentUpdateItemPage::PAGE_NAME, $contentType);
        $contentUpdatePage->verifyIsLoaded();

        return $contentUpdatePage;
    }
public function startCreatingContent ( string $ contentType ) : ContentUpdateItemPage { $ this -> rightMenu -> clickButton ( 'Create' ) ; $ contentTypePicker = ElementFactory :: createElement ( $ this -> context , ContentTypePicker :: ELEMENT_NAME ) ; $ contentTypePicker -> select ( $ contentType ) ; $ contentUpdatePage = PageObjectFactory :: createPage ( $ this -> context , ContentUpdateItemPage :: PAGE_NAME , $ contentType ) ; $ contentUpdatePage -> verifyIsLoaded ( ) ; return $ contentUpdatePage ; }
Clicks "Create" and selects Content Type in displayed search.

@param string $contentType
Clicks Create and selects Content Type in displayed search .