If the Dom is null, getTitle method in StateFlowGraph would not be able to extract the title.