Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated Documentation #133

Closed
benztest opened this issue Jul 7, 2020 · 2 comments
Closed

Outdated Documentation #133

benztest opened this issue Jul 7, 2020 · 2 comments

Comments

@benztest
Copy link

benztest commented Jul 7, 2020

When following the documentation at readthedocs several links throughout are out of date and link to dead pages.

Please could a full example of code be included as well. (Especially around nested elements)
As the error message "getElement" method is not available on the MyExample (BadMethodCallException) is really not clear.

Thanks,
Ben

@jakzal
Copy link
Member

jakzal commented Jul 10, 2020

Could you paste a code snippet to show what you're trying to do?

@benztest
Copy link
Author

Hi @jakzal,

Thanks for the response, I no longer require assistance with nested elements. I've since restarted a number of times and the issues I was likely encountering is either related to my composer setup or I did not replace $this->getDriver() with $this->getSession().


The docs however are outdated and the example about nested elements also contains an error:
public function logo() { return $this->getElement('Logo')' }

public function logo() { return $this->getElement('Logo'); }

@jakzal jakzal closed this as completed Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants