A woman accused of killing her two children made web searches that showed she was "clearly planning" the tragedy, a court has been told.