WordPress echo tytuł strony
<?php echo get_the_title(post->$ID); ?>
Poor Panther
<?php echo get_the_title(post->$ID); ?>
get_post( $post_id )->post_title
const assert = require('assert')
describe('v5.webdriver.io', () => {
it('should have the right title', async () => {
await browser.url('https://v5.webdriver.io')
const title = await browser.getTitle()
assert.strictEqual(title, 'WebdriverIO · Next-gen WebDriver test framework for Node.js')
//или//
assert(title === 'WebdriverIO · Next-gen WebDriver test framework for Node.js')
})
})